| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
camroll(dtheta)
camroll(axes_handle,dtheta)
camroll(dtheta) rotates the camera around the camera viewing axis by the amounts specified in dtheta (in degrees). The viewing axis is the line passing through the camera position and the camera target.
camroll(axes_handle,dtheta) operates on the axes identified by the first argument, axes_handle. When you do not specify an axes handle, camroll operates on the current axes.
camroll sets the axes CameraUpVector property and also sets the CameraUpVectorMode property to manual.
Rotate the camera around the viewing axis:
surf(peaks) axis vis3d for i=1:36 camroll(10) drawnow end
axes | axis | camdolly | camorbit | campan | camzoom
![]() | camproj | camtarget | ![]() |

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 |