[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fast plotting of streaming data - best approach?
From: |
Martijn |
Subject: |
Re: fast plotting of streaming data - best approach? |
Date: |
Mon, 27 Jun 2011 12:36:35 +0200 |
Hi Alexader,
In addition to using the fltk backend you can also just replace the
ydata of you plot, instead of replotting the entire graph:
l = plot(t,x1);
set(l, "ydata", x2)
This avoids drawing of axis, labels and so on.
Martijn
On Sat, 2011-06-25 at 14:00 +0200, Alexander Poddey wrote:
> Hi all,
>
> I have some data which comes streaming in (at e.g. 1000 samples /s).
> I hold the old data (at least a part of it) and want to plot lets say the
> last
> 5000 data points, updated every 1/10 s.
>
> Calling plot takes a few seconds to bring up the plot (debian squeeze, octave
> 3.2.4, gnuplot 4.4) - the naive approach to re-call plot with the new data is
> too slow.
>
> Which would be the best strategy to do this?
>
> Thanks
> Alex
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave