image thumbnail

Zoom Keys

version 1.2.0.0 (3.56 KB) by Ned Gulley
Pan and zoom quickly around your 2-D data using mouse and keyboard shortcuts.

4.1K Downloads

Updated 27 Apr 2021

From GitHub

View license on GitHub

Use this tool to move quickly around the data displayed in a 2-D plot. Make sure the figure has focus, and then press any of the following keys. Clicking and dragging will pan the data.

Keys you can use are:
z, Z: zoom in, zoom out, in both dimensions
x, X: zoom in, zoom out, x dimension only
y, Y: zoom in, zoom out, y dimension only
arrow keys: pan the data
a: axis auto
n: axis normal
e: axis equal
g: toggle grid state
spacebar: toggle axis tick display state
h: help

Cite As

Ned Gulley (2021). Zoom Keys (https://github.com/gulley/Ax-Drag), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Orthogonalslicer, INTERACTIVEMOUSE

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.