ScatterPlot with huge data!!!
I need to draw a plot chart as the scatterPlot chart but the problem is that my data is rather huge( about 500,000 points:( ! ). I tried use scatterPlot but the performance is so bad!!!
Have any solution to solve this problem?!!!
Thanks very much!
Performance in ScatterPlot chart problem!!!
-
- Posts: 844
- Joined: Fri Oct 13, 2006 9:29 pm
- Location: Sunnyvale, CA
Search the forum for FastScatterPlot and take a look at the FastScatterPlot JavaDoc.khanhlv wrote:Any one could give me some suggestions!
Richard West
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA
-
- Posts: 844
- Joined: Fri Oct 13, 2006 9:29 pm
- Location: Sunnyvale, CA
Why not try copying the code for FastScatterPlot and simply change the floats to doubles? At least that way you will be able to see if the FastScatterPlot can help relieve some of your performance issues. The main reason, if I recall correctly, for using floats in FastScatterPlot is to reduce the memory overhead needed to store the data since the datasets are expected to be incredibly large. Reducing memory overhead will also increase performance. I highly doubt your data needs to be double precision for plotting especially when it is impossible to distinguish 500,000 data points on a plot unless you have an impossibly large monitor.khanhlv wrote:It seems that i can not use FastScratterPlot because i need the value in x-axis and y-axis are double not float:(!
Have any other solution? Can i use other chart beside the scratter chart???
Other way, is there any example of FastScatterPlot??
Richard West
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA
Design Engineer II
Advanced Micro Devices
Sunnyvale, CA