MATLAB Function Reference | ![]() ![]() |
表示
campan(dtheta,dphi) campan(dtheta,dphi,'coordsys
') campan(dtheta,dphi,'coordsys
','direction') campan(axes_handle,...)
詳細
は、campan(dtheta,dphi)
dtheta
とdphi
(共に角度単位)で指定した量だけ、カメラの位置の周囲にカメラのターゲットを回転します。dtheta
は水平方向の回転で、dphi
は垂直方向の回転です。
campan(dtheta,dphi,'
で、引数coordsys
')
coordsys
は、回転の中心を指定する2つの値を設定することができます。
data
(デフォルト) - カメラの位置と引数direction
で定義される軸の回りでカメラのターゲットを回転(デフォルトは、zの正の方向です)。 camera
- カメラのターゲットで定義される点を中心にカメラを回転。 campan(dtheta,dphi,'
で、引数directionは、カメラの位置と共に、データの座標系に対して回転軸を定義します。coordsys
','direction')
direction
は、方向のx, y, z成分を含む3要素のベクトルとして、またはそれぞれ[1 0 0]
, [0 1 0]
, [0 0 1]
を示すキャラクタ x
, y
, z
のいずれかとして、指定してください。
campan(axes_handle,...)
は、最初の引数axes_handle
で識別されるaxesで操作を行います。axesのハンドル番号を指定しないときは、campan
は、カレントのaxesで操作を行います。
参考
axes
, camdolly
, camorbit
, camtarget
, camzoom
, camroll
![]() | camorbit | campos | ![]() |