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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2camva<br />

Purpose Set or query the camera view angle<br />

Syntax camva<br />

camva(view_angle)<br />

camva('mode')<br />

camva('auto')<br />

camva('manual')<br />

camva(axes_handle,...)<br />

Description The camera view angle determines the field of view of the camera. Larger<br />

angles produce a smaller view of the scene. You can implement zooming by<br />

changing the camera view angle.<br />

camva<br />

camva with no arguments returns the camera view angle setting in the current<br />

axes.<br />

camva(view_angle) sets the view angle in the current axes to the specified<br />

value. Specify the view angle in degrees.<br />

camva('mode') returns the current value of the camera view angle mode,<br />

which can be either auto (the default) or manual. See Remarks.<br />

camva('auto') sets the camera view angle mode to auto.<br />

camva('manual') sets the camera view angle mode to manual. See Remarks.<br />

camva(axes_handle,...) performs the set or query on the axes identified by<br />

the first argument, axes_handle. When you do not specify an axes handle,<br />

camva operates on the current axes.<br />

Remarks camva sets or queries values of the axes object CameraViewAngle and<br />

CameraViewAngleMode properties.<br />

When the camera view angle mode is auto, <strong>MATLAB</strong> adjusts the camera view<br />

angle so that the scene fills the available space in the window. If you move the<br />

camera to a different position, <strong>MATLAB</strong> changes the camera view angle to<br />

maintain a view of the scene that fills the available area in the window.<br />

2-205

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

Saved successfully!

Ooh no, something went wrong!