help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fast plotting of streaming data - best approach?


From: Alexander Poddey
Subject: Re: fast plotting of streaming data - best approach?
Date: Mon, 27 Jun 2011 20:15:14 +0200
User-agent: KMail/1.9.9

Ok, thank you.
I will test this asap.

Alex 
> To be correct, it will redraw everything, but it won't recreate everything.
> This will also save you all the processing of the "plot" function, as well
> as the associated function call overheads.
>
> Michael.
>
> On Mon, Jun 27, 2011 at 11:36 AM, Martijn <address@hidden> 
wrote:
> > 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
> >
> > _______________________________________________
> > Help-octave mailing list
> > address@hidden
> > https://mailman.cae.wisc.edu/listinfo/help-octave




reply via email to

[Prev in Thread] Current Thread [Next in Thread]