Il 6/13/2013 5:11 PM, Matthew Reich ha scritto:
Hello Francesco Potortì,
Thank you for pointing to plotdecimate. It will be useful.
However, for the task at hand, plot is significantly faster than using
plotdecimate. Given the size some data records, 10^4 to 10^7
elements, impressively fast. And, without setting the RES parameter,
decimation removes the very low duty cycle pulses which are important
in the records.
Also, the main problem is unrelated to record size. All plot windows
turn gray after moving them, and sometimes after creating subsequent
figures. Convincing them to redraw usually takes some GUI
interaction. While redrawing rate scales with record size, the delay
itself is not a significant problem. Disappearing window contents is
the problem.
Any suggestions?
Thank you,
M.Reich
Matthew,
just tested 2D plot up to 1E6 points
fltk is faster than gnuplot but both are reasonable fast.
The grey effect that sometime hide the plot is likely due to the
fltk library focus problem on fltk-1.3.1.9857-1
For what I see it is enough to point the mouse on the figure and than on
the xterm to have a full immediate redraw.
I will look if the problem disappears with following
fltk library versions.
Regards
Marco