View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Scrolling Plot Demo

4.5 | 6 ratings Rate this file 29 Downloads (last 30 days) File Size: 1.74 KB File ID: #1670 Version: 1.0

Scrolling Plot Demo


Steven Lord (view profile)


07 May 2002 (Updated )

This is a demo demonstrating how to link an axis and a slider to enable scrolling of the axis.

| Watch this File

File Information

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).


This file inspired Scrolling Figure Demo, Advanced Scroll Plot, Advanced Scroll Plot With Subplot Handling, Pan Scroll Zoom, Scrollsubplot, and Scroll Plot Scrollable X/Y Axes.

MATLAB release MATLAB 6.1 (R12.1)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
17 Jun 2013 Jan Lemeire

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

16 Jan 2012 Vitaly

Vitaly (view profile)

22 Sep 2005 Dominik Loeffler

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

19 Sep 2005 Julie Meng

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

29 Jul 2003 Frank Atherton

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

06 Nov 2002 jeffery russell

Excellent use of Matlab.


Contact us