wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes graphs and applets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "graphs and applets" Watch "graphs and applets" New topic
Author

graphs and applets

Lydia Su
Greenhorn

Joined: Apr 27, 2001
Posts: 13
anyone know how to draw a graph in applet?
especially using two formulas and asking the user to set the range and counter of the range. also, how do you draw the line for the graph continuously? as in, everytime the counter increments, the line is redrawn over the previous...
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Sun provides this example:
http://java.sun.com/applets/jdk/1.1/demo/SimpleGraph/example1.html


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
wood burning stoves
 
subject: graphs and applets