| MATLAB Function Reference | ![]() |
Set or query the projection type
Syntax
Description
The projection type determines whether MATLAB uses a perspective or orthographic projection for 3-D views.
with no arguments returns the projection type setting in the current axes. camproj
sets the projection type in the current axes to the specified value. Possible values for camproj('projection_type')
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
Controlling the Camera Viewpoint for related functions
Defining Scenes with Camera Graphics for more information
| campos | camroll | ![]() |