The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Real-time scrolling plots
Replies: 1   Last Post: Sep 12, 2011 4:58 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Ralph Schleicher

Posts: 38
Registered: 1/23/10
Re: Real-time scrolling plots
Posted: Sep 12, 2011 4:58 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Alan " <> writes:

> I have some data from a simulation that I'd like to plot as the
> simulation is running. I want to have the plot always show the last
> ~20s or so, which means that it would appear to be scrolling sideways
> as new data is added on the right and old data disappears on the
> left. Does anyone know if this sort of thing has already been done? I
> poked around on the file exchange but didn't come up with anything. I
> could write something myself, but it would likely be much sloppier
> (and slower) than something done by a pro.

I've done something similar in the past for 3D visualization of
simulation results. See, for example, my demo at
It shouldn't be too hard to adapt the code for a (y,t) plot.

Ralph Schleicher <>

Development * Consulting * Training
Mathematical Modeling and Simulation
Software Tools

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.