| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
camproj
camproj('projection_type')
camproj(axes_handle,...)
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')

Axes: CameraPosition | Axes: CameraTarget | Axes: CameraUpVector | Axes: CameraViewAngle | Axes: Projection | axis | campos | camtarget | camup | camva
![]() | campos | camroll | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |