Be the first to rate this file! 6 Downloads (last 30 days) File Size: 3.41 KB File ID: #26075
image thumbnail

panScrollZoom

by Luca Chiaravalloti

 

11 Dec 2009 (Updated 13 Dec 2009)

Scroll bar selfadjusting on zoom and pan events.Is possible to specify a callback for axis handling

| Watch this File

File Information
Description

Easily permits to add a scroll bar to a graph, at the same time is possible to zoom and pan the graph and the scroll bar adapts itself consequentially.
Moreover you can define a callback function to be called after a pan, scroll or zoom event on the graph in order to do what you need on the axis label or something else.
If you link two axes of different graphs panScrollZoom works well too.

Two example are supplied.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
Scrolling Plot Demo

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
13 Dec 2009

Just an error in the title.

Tag Activity for this File
Tag Applied By Date/Time
data exploration Luca Chiaravalloti 11 Dec 2009 11:50:41
pan Luca Chiaravalloti 11 Dec 2009 11:50:41
zoom Luca Chiaravalloti 11 Dec 2009 11:50:41
scroll Luca Chiaravalloti 11 Dec 2009 11:50:41
tick Luca Chiaravalloti 11 Dec 2009 11:50:41
label Luca Chiaravalloti 11 Dec 2009 11:50:41
linkaxes Luca Chiaravalloti 11 Dec 2009 11:50:41
link Luca Chiaravalloti 11 Dec 2009 11:50:41
axis Luca Chiaravalloti 11 Dec 2009 11:50:41
event Luca Chiaravalloti 11 Dec 2009 11:50:41
scrollbar Luca Chiaravalloti 27 Dec 2009 05:05:39
slider Luca Chiaravalloti 27 Dec 2009 05:05:56

Contact us at files@mathworks.com