Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

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

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

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: 29
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 " <mannin2@interchange.ubc.ca> 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 <http://ralph-schleicher.de>

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 1994-2015. All Rights Reserved.