scatter-plot of 300k points is very slow #64

Open
LukeHoersten opened this Issue Mar 1, 2012 · 3 comments

Projects

None yet

3 participants

@LukeHoersten

Making a scatter-plot of 300k doubles is extremely slow compared to R or Excel with the same data. Perhaps JFreeChart isn't being used optimally?

A single CPU core is utilized 100% during this time. Also after the plot is generated, re-referencing it is quick enough.

@nathanmesser

Have you got some sample code that tries to do this and is very slow?

@nathanmesser

I've found that I can get the speed on creating a scatter plot for 300k items down from around 20s on my machine, to almost instant, by switching from an XYSeriesCollection to a DefaultXYDataset. However I need to do more digging to see what the downsides of this would be.

@alexott
Collaborator
alexott commented Sep 1, 2013

@nathanmesser do you have any code snippets that allows us to use DefaultXYDataset?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment