This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes graph drawing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "graph drawing" Watch "graph drawing" New topic
Author

graph drawing

daudi jjingo
Greenhorn

Joined: Nov 26, 2003
Posts: 3
Still grappling with graph drawing.
I have looked through tutorialS, and its been very informative, but didn't really find out how i would draw a graph in java if say i had points
1,2,3,4,5 for the x_axis and points
10,20,30,40, 50 for the y_axis. Would u pliz send me the code for doing this?
My main problem was that all the methods i found could only draw line segments between only 2 points, not graphs with multiple points. How is this done?
 
jQuery in Action, 2nd edition
 
subject: graph drawing
 
Similar Threads
drawing line
repaint() problem
Graph in java
Java Graphs
Drawing a graph in jsp page