Login  Register

Plot without lines?

Posted by Gabriel Landini on Dec 17, 2005; 7:23pm
URL: http://imagej.273.s1.nabble.com/Plot-without-lines-tp3704210.html

Hi,

Does anybody have a suggestion about  how to produce a plot *without* the line
connecting the data points?

[...]
double[] a = Tools.getMinMax(datax);
double[] b = Tools.getMinMax(datay);

PlotWindow plot = new PlotWindow("Plot",set[0],set[1],datax,datay);
plot.setLimits(a[0],a[1],b[0],b[1]);
plot.draw();
[...]

I realise that after the plot window creation I can add points alone this way:
plot.addPoints(datax,datay,PlotWindow.CIRCLE);

but how do I create the plot window without the lines?
Many thanks

Gabriel