panScrollZoom
版本 1.3.0.0 (3.4 KB) 作者:
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.
引用格式
Luca Chiaravalloti (2024). panScrollZoom (https://www.mathworks.com/matlabcentral/fileexchange/26075-panscrollzoom), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2007b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Visual Exploration 的更多信息
标签
致谢
参考作品: Scrolling Plot Demo
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!