
-----------------------------------
poseidon
Sat Jul 26, 2003 8:00 pm

graphing
-----------------------------------
just curious ..... how would one go about graphing a line graph?  if given a number of points (x,y)

what is the java command to draw lines, dots?

-----------------------------------
poly
Sat Jul 26, 2003 8:09 pm


-----------------------------------
simple Google search got me this info (cause i never used Java):

g.drawLine(x1, y1, x2, y2)

-----------------------------------
rizzix
Sat Jul 26, 2003 8:53 pm


-----------------------------------
it's not that simple. u need to know swing.
