linkzoom.m v1.3 (Aug 2009)

Links the ZOOM and PAN regions of different axes.

Vous suivez désormais cette soumission

Note de l’éditeur : This file was selected as MATLAB Central Pick of the Week

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.

Usage:

>> subplot(311)
>> ...
>> subplot(312)
>> ...
>> subplot(313)
>> ...
>> 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)

Citation pour cette source

Carlos Adrian Vargas Aguilera (2026). linkzoom.m v1.3 (Aug 2009) (https://fr.mathworks.com/matlabcentral/fileexchange/21414-linkzoom-m-v1-3-aug-2009), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

Inspiré par : tlabel.m v2.6.1 (Sep 2009)

A inspiré : addaxes.m v1.1 (Sep 2009)

Catégories

En savoir plus sur Data Exploration dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.3.0.0

v1.3 Fixed bug when using PLOTYY.

1.2.0.0

v1.2 Fixed small bug with ZOOM OUT and Double-Click. Other minor changes.

1.1.0.0

1) Fixed bug with already zoomed axes.
2) Changed the example.

1.0.0.0