Example_Plot.java

Posted by David Webster on
URL: http://imagej.273.s1.nabble.com/Example-Plot-java-tp3689768.html

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