I'm trying to graph x,y points on a fixed 600x600 pixel JPanel
. The origin (0,0) is at the center of the panel (300,300).
I can have points ranging from 0,0 to well into the positive or negative thousands.
How can I scale them so the points farthest from the origin are near the edge of the graph?