I am trying to plot 100,000 data points and it takes too long to draw the graph. What is wrong with the software and what can I do to make it faster?
The software runs as fast as we can make it. We do not have any hidden switches that will speed up the software. What you need to do is to step back and think about the best way to display your data. A fundamental issue that many programmers fail to consider is the relationship between the resolution of the rasterized screen image of the plot and the resolution of the data. A typical mobil device chart image will have 300-600 pixels as the horizontal resolution of the plotting area. This would imply that in the 100K data point example above, every horizontal pixel would represent 1.6K to 3.3K data points. Obviously this is a terrible mismatch. In fact it is a bad match for datasets that have more than a couple of thousands points. So what you do is compress the data before it is displayed. Take the 100K data points and compress them down to 500 data points. The data compression can take several forms. You can take an average of every N points. The resulting dataset will be reduced by a
Related Questions
- I am trying to plot 100,000,000 data points and it takes too long to draw the graph. What is wrong with the software and what can I do to make it faster?
- I am trying to plot 100,000 data points and it takes too long to draw the graph. What is wrong with the software and what can I do to make it faster?
- How can I automatically label graph points from my data tables in Excel?