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

View License

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.

Cite As

Luca Chiaravalloti (2024). panScrollZoom (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Visual Exploration in Help Center and MATLAB Answers

Inspired by: Scrolling Plot Demo

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Just an error in the title.