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).
I easily made a function so that you can ass a scrollbar to any plot:
function addHorizontalScrollbarToPlot(dx, xmax)
could also include the scrollable y-axis, but is sufficient to show how it's done. Just what I'm looking for!
Works alone, but doesn't work after insert to GUI. Anybody has similar experience?
Shame this example doesn't show the ability to vertically scroll data, reguards Frank
Excellent use of Matlab.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.