camorbit
围绕摄像机目标旋转摄像机位置
语法
camorbit (dtheta dphi)
camorbit (dtheta dphi。”coordsys
”)
camorbit (dtheta dphi。”coordsys
”、“方向”)
camorbit (axes_handle…)
描述
camorbit (dtheta dphi)
中指定的量围绕相机目标旋转相机位置dtheta
和dphi
(都是在程度上)。dtheta
是水平旋转和dphi
是垂直旋转。
camorbit (dtheta dphi。”
属性围绕相机目标旋转相机位置coordsys
”)coordsys
参数来确定旋转中心。coordsys
可以取两个值:
数据
(默认值)-围绕摄像机目标和对象定义的轴旋转摄像机方向
(默认为正数z方向)。相机
-围绕摄像机目标所定义的点旋转摄像机。
camorbit (dtheta dphi。”
属性定义数据坐标系的旋转轴coordsys
”、“方向”)方向
参数与相机目标相结合。指定方向
作为包含x-,y- - - - - -,z-方向或选项之一的分量,x
,y
,或z
,表示[10 0 0]
,[0 10 0]
,或[0 0 1]
分别。
camorbit (axes_handle…)
操作在第一个参数标识的轴上,axes_handle
。如果没有指定轴句柄,camorbit
在当前轴上操作。
的行为camorbit
不同于rotate3d
功能,而rotate3d
工具修改视图
坐标轴的性质camorbit
函数固定纵横比并修改CameraTarget
,CameraPosition
,CameraUpVector
坐标轴的性质。看到轴属性有关所有轴属性的更多信息。
例子
选择
从图中启用3-D旋转工具菜单或图形工具栏。
版本历史
R2006a之前介绍