Zoom & Pan Keys

版本 1.0.0 (2.8 KB) 作者: Qingfeng Liu
Pan and zoom with simple keystrokes.
8.0 次下载
更新时间 2022/11/17

查看许可证

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
those upper letters could be, e.g. Z: shift+z, or Caps, then z,
those lower letters could be, e.g. z: z, or Caps, then shift+Z, :)
arrow keys: pan the data
a: axis auto
n: axis normal
e: axis equal
g: toggle grid state
spacebar: toggle axis tick display state

引用格式

Qingfeng Liu (2024). Zoom & Pan Keys (https://www.mathworks.com/matlabcentral/fileexchange/120748-zoom-pan-keys), MATLAB Central File Exchange. 检索来源 .

Thanks to Ned Gulley! https://www.mathworks.com/matlabcentral/fileexchange/3090-zoom-keys?s_tid=srchtitle

MATLAB 版本兼容性
创建方式 R2017a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

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

Start Hunting!

AxisDrag

版本 已发布 发行说明
1.0.0