view3d.m

版本 1.0.0.0 (3.4 KB) 作者: Torsten Vogel
view3d Interactively rotate, zoom and pan the view of a 3-D plot
7.6K 次下载
更新时间 1999/4/20

查看许可证

view3d Interactively rotate, zoom and pan the view of a 3-D plot

VIEW3D ROT turns on mouse-based 3-D rotation
VIEW3D ZOOM turns on mouse-based 3-D zoom and pan
VIEW3D OFF turns it off

VIEW3D(FIG,...) works on the figure FIG

Double click to restore the original view

- hit 'z' key over the figure to switch from ROT to ZOOM
- hit 'r' key over the figure to switch from ZOOM to ROT

in ROT mode:
- press and hold left mouse button to rotate about screen xy axis
- press and hold middle mouse button to rotate about screen z axis

in ZOOM mode:
- press and hold left mouse button to zoom in and out
- press and hold middle mouse button to move the plot

Inspired by rotate3d by The MathWorks, Inc.

Tested under MATLAB 5.2

引用格式

Torsten Vogel (2024). view3d.m (https://www.mathworks.com/matlabcentral/fileexchange/334-view3d-m), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R10
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 3-D Scene Control 的更多信息
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0