panScrollZoom
Versione 1.3.0.0 (3,41 KB) da
Luca Chiaravalloti
Scroll bar selfadjusting on zoom and pan events.Is possible to specify a callback for axis handling
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.
Cita come
Luca Chiaravalloti (2026). panScrollZoom (https://it.mathworks.com/matlabcentral/fileexchange/26075-panscrollzoom), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2007b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Data Exploration in Help Center e MATLAB Answers
Tag
Riconoscimenti
Ispirato da: Scrolling Plot Demo
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
