akZoom

Zooming and panning with the mouse in 2D plots. Supports plotyy, loglog, subplot, etc.

Download
Download

You are now following this Submission

Cite As

Alexander Kessel (2026). akZoom (https://nl.mathworks.com/matlabcentral/fileexchange/41426-akzoom), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Mouse-friendly FIGURE

Inspired: MousePanningExample, UISignalBuilder2

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.10.1

updated file

Download
1.10.0

* constraining the zoom to only the x- or y-axis now supported
* in xy-zoom mode the user can constrain the zoom to one axis by drawing an ROI rectangle that spreads over more than 95% of the plot height or width
* the wrappers are simplified

Download
1.9.0

fix a bug that occurs when fast scrolling with mouse wheel (thanks to Anne-Sophie Girard-Guichon)

Download
1.8.1

included missing file: plotyy_fixZoom.m

Download
1.8.0

* solved problems with axes nested in GUIs (thanks to Benoit Botton)
* solved problems with out-of bounds logarithmic-plots
* improved error handling in wrapper functions
* bugfix for fast scrolling (could previously result in error messages )

Download
1.7.0

*supports now loglog & semilog
*mouse buttons customizable
*unsensitive to data markers & legends
*checks for valid axis limits (log!)
*automatically callable for 2D plots

Download
1.6.0

updated Description

Download
1.5.0

-zooming: replaced patch by rectangle -> faster, visually not dependent on renderer, bug fixed that prevented scroll wheel events after zoom
-mapping of mouse buttons can be customized
-easy usage with 'all' and 'all_linked' (works now with plotyy)

Download
1.3.0

*bugfixes
*out-of-the-box functionality with subplots and (multiple) plotyy-axes
*arbitraty linking between different axes can be easily set up

Download
1.0.0

Download