Example_Plot.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Example_Plot.java

David Webster
All,

I downloaded this and built/ran it, but it didn't produce the picture
shown in "Plugins/Graphics/Example Plot" with gridlines and tickmarks.
Then I changed the code by replacing the constuctor

Plot plot = new Plot("Example Plot","X Axis","Y Axis",x,y);

with

Plot plot = new Plot("Example Plot","X Axis","Y Axis",x,y,        
                        Plot.X_GRID+Plot.X_TICKS+        
                        Plot.Y_GRID+Plot.Y_TICKS);

but still no gridlines or tickmarks. What am I not doing?

David Webster