drag.m

Allows the user to navigate a 2D/3D plot similar to the Adobe "hand" interface.

您现在正在关注此提交

DRAG: Move around on a 2-D or 3-D plot.

When plot dragging is on, you can click and drag the axes around while maintaining the current level of zoom. In a figure with multiple subplots, pressing and holding the left mouse button drags around the currently active subplot, while pressing and holding the right mouse button drags around all subplots simultaneously. Double clicking with the left mouse button restores the currently active plot to its restore point, while double clicking with the right mouse button restores all subplots to their defined restore point.

引用格式

Ryan Eustice (2026). drag.m (https://ww2.mathworks.cn/matlabcentral/fileexchange/3813-drag-m), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: INTERACTIVEMOUSE

类别

Help CenterMATLAB Answers 中查找有关 Interactions, Camera Views, and Lighting 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0

Updated behavior to correctly work with plot legends and colorbars.