camproj - Set or query projection type

Syntax

camproj
camproj('projection_type')
camproj(axes_handle,...)

Description

The projection type determines whether MATLAB 3-D views use a perspective or orthographic projection.

camproj with no arguments returns the projection type setting in the current axes.

camproj('projection_type') sets the projection type in the current axes to the specified value. Possible values for projection_type are orthographic and perspective.

camproj(axes_handle,...) performs the set or query on the axes identified by the first argument, axes_handle. When you do not specify an axes handle, camproj operates on the current axes.

Remarks

camproj sets or queries values of the axes object Projection property.

See Also

campos, camtarget, camup, camva

The axes properties CameraPosition, CameraTarget, CameraUpVector, CameraViewAngle, Projection

Camera Viewpoint for related functions

Defining Scenes with Camera Graphics for more information

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS