Using MATLAB Graphics     Search    Help Desk 

Low-Level Camera Properties

Camera graphics is based on a group of axes properties that control the position and orientation of the camera. In general, the camera commands make it unnecessary to access these properties directly.

Property
What It Is
CameraPosition
Specifies the location of the viewpoint in axes units.
CameraPositionMode
In automatic mode, MATLAB determines the position based on the scene. In manual mode, you specify the viewpoint location.
CameraTarget
Specifies the location in the axes that the camera points to. Together with the CameraPosition, it defines the viewing axis.
CameraTargetMode
In automatic mode, MATLAB specifies the CameraTarget as the center of the axes plot box. In manual mode, you specify the location.
CameraUpVector
The rotation of the camera around the viewing axis is defined by a vector indicating the direction taken as up.
CameraUpVectorMode
In automatic mode, MATLAB orients the up vector along the positive y-axis for 2-D views and along the positive z-axis for 3-D views. In manual mode, you specify the direction.
CameraViewAngle
Specifies the field of view of the "lens." If you specify a value for CameraViewAngle, MATLAB overrides stretch-to-fill behavior (see the "Aspect Ratio" section).
CameraViewAngleMode
In automatic mode, MATLAB adjusts the view angle to the smallest angle that captures the entire scene. In manual mode, you specify the angle.
Setting CameraViewAngleMode to manual overrides stretch-to-fill behavior.
Projection
Selects either an orthographic or perspective projection.



[ Previous | Help Desk | Next ]