This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Set or query projection type




camproj returns the projection type setting in the current axes. The projection type determines whether MATLAB® 3-D views use a perspective or orthographic projection.

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.

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


Compare the different camproj settings using subplot:

subplot(1,2,1); surf(membrane); camproj('perspective')
subplot(1,2,2); surf(membrane); camproj('orthographic')

See Also

| | | |

Introduced before R2006a

Was this topic helpful?