mouse3d
版本 1.0.0.0 (3.8 KB) 作者:
Dirk-Jan Kroon
Easily zoom, pan, rotate the camera in a Matlab axis with left/center/right mouse button
This function MOUSE3D enables mouse camera control on an certain figure axes.
Enable mouse control with mouse3d(axis-handle) or just mouse3d
MouseButtons
Left : Rotate
Right : Zoom
Center : Pan
Keys
'r' : Change mouse rotation from inplane to outplane
'i' : Go back to initial view
Example,
[X,Y,Z] = peaks(30);
surf(X,Y,Z)
colormap hsv
% Enable mouse control
mouse3d
引用格式
Dirk-Jan Kroon (2024). mouse3d (https://www.mathworks.com/matlabcentral/fileexchange/28095-mouse3d), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2010a
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Graphics > Formatting and Annotation > 3-D Scene Control >
- MATLAB > Graphics > Formatting and Annotation > 3-D Scene Control > Camera Views >
在 Help Center 和 MATLAB 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 |