[Interest] efficient drawing advice
Syam Krishnan
syamcr at gmail.com
Wed Mar 26 14:19:10 CET 2014
On 03/26/2014 04:43 PM, william.crocker at analog.com wrote:
>
> Create trace abstracts (with reduced point counts) for the purposes of drawing.
> In the extreme case, if a trace is close enough to a straight line (given
> the resolution of the display) the trace could be abstracted as 2 points.
> Your cache of abstractions probably needs to depend on your zoom level.
> This works for me and I have traces with millions of points.
> I also capitalize on the fact that my traces are (thankfully) monotonic
> in the X coordinate.
I too have a similar requirements for monotonic data plots. How do you
store the full million points data? Do you keep all points in memory so
that it is readily available when the user zooms?
Syam
More information about the Interest
mailing list