File Exchange

image thumbnail

Scrolling Plot Demo

version 1.0.0.0 (1.74 KB) by Steven Lord
This is a demo demonstrating how to link an axis and a slider to enable scrolling of the axis.

24 Downloads

Updated 07 May 2002

View License

To execute the demo, please type "scrollplotdemo" (without the quotes) at the MATLAB command prompt. The slider will scroll the axis limits over the range of the sample plot (a sine curve).

Comments and Ratings (7)

This is great!
Is there a way to send the resulting graph to someone that doesn't have Matlab and still have the scrolling functionality?

Jan Lemeire

I easily made a function so that you can ass a scrollbar to any plot:
function addHorizontalScrollbarToPlot(dx, xmax)

Vitaly

Dominik Loeffler

could also include the scrollable y-axis, but is sufficient to show how it's done. Just what I'm looking for!

Julie Meng

Works alone, but doesn't work after insert to GUI. Anybody has similar experience?

Frank Atherton

Shame this example doesn't show the ability to vertically scroll data, reguards Frank

jeffery russell

Excellent use of Matlab.

regards

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux