LINKAXES links the axis limits of several axes. LINKZOOM links the ZOOM and PAN regions ignoring the axes limits, then, it can be used to link several axes with different limits.
>> linkzoom % links all axes on current figure!
and that's it. Make a zoom or a panning of any of the axes and the others will do the same!
Other options are the figure or axes handles and the axis to be linked: 'x' or 'y' or both 'xy' (default).
By now the panning is actualized on all axes until the mouse is released :P, any help?
Check out the included example to notice the difference with LINKAXES.
(Bugs reports and suggestions will be very appreciated)
Carlos Adrian Vargas Aguilera (2022). linkzoom.m v1.3 (Aug 2009) (https://www.mathworks.com/matlabcentral/fileexchange/21414-linkzoom-m-v1-3-aug-2009), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!