23.12.2012 Views

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Axes Properties<br />

2-98<br />

CameraPosition [x, y, z] axes coordinates<br />

The location of the camera. This property defines the position from which the<br />

camera views the scene. Specify the point in axes coordinates.<br />

If you fix CameraViewAngle, you can zoom in and out on the scene by changing<br />

the CameraPosition, moving the camera closer to the CameraTarget to zoom in<br />

and farther away from the CameraTarget to zoom out. As you change the<br />

CameraPosition, the amount of perspective also changes, if Projection is<br />

perspective. You can also zoom by changing the CameraViewAngle; however,<br />

this does not change the amount of perspective in the scene.<br />

CameraPositionMode {auto} | manual<br />

Auto or manual CameraPosition. When set to auto, <strong>MATLAB</strong> automatically<br />

calculates the CameraPosition such that the camera lies a fixed distance from<br />

the CameraTarget along the azimuth and elevation specified by view. Setting a<br />

value for CameraPosition sets this property to manual.<br />

CameraTarget [x, y, z] axes coordinates<br />

Camera aiming point. This property specifies the location in the axes that the<br />

camera points to. The CameraTarget and the CameraPosition define the vector<br />

(the view axis) along which the camera looks.<br />

CameraTargetMode {auto} | manual<br />

Auto or manual CameraTarget placement. When this property is auto,<br />

<strong>MATLAB</strong> automatically positions the CameraTarget at the centroid of the axes<br />

plotbox. Specifying a value for CameraTarget sets this property to manual.<br />

CameraUpVector [x, y, z] axes coordinates<br />

Camera rotation. This property specifies the rotation of the camera around the<br />

viewing axis defined by the CameraTarget and the CameraPosition properties.<br />

Specify CameraUpVector as a three-element array containing the x, y, and z<br />

components of the vector. For example, [0 1 0] specifies the positive y-axis as<br />

the up direction.<br />

The default CameraUpVector is [0 0 1], which defines the positive z-axis as the<br />

up direction.<br />

CameraUpVectorMode {auto} | manual<br />

Default or user-specified up vector. When CameraUpVectorMode is auto,<br />

<strong>MATLAB</strong> uses a value of [0 0 1] (positive z-direction is up) for 3-D views and

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!