0
votes

Can any one please provide me the Source Code for "ScatterPlotDemo1" which comes with "JfreeChart DevloperGuide".I am developing exactly the same Application so it would be very helpful for me if I can get the code for the following Image attached.

Thanks very Much

http://www.jfree.org/jfreechart/images/ScatterPlotDemo1.png

2

2 Answers

1
votes

Any one of these recent scatter plot demos would probably be a better starting point. The only difference is the demonstration dataset. ScatterPlotDemo1 is not hard to find, but the required SampleXYDataset2 is less than exemplary. I'd look at nextGaussian() to vary the slope of a line.

As you use the library frequently, I'd recommend The JFreeChart Developer Guide†.

†Disclaimer: Not affiliated with Object Refinery Limited; just a satisfied customer and very minor contributor.