12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

camdollyRemarksExamplescamdolly sets the axes CameraPosition and CameraTarget properties, which inturn causes the CameraPositionMode and CameraTargetMode properties to beset to manual.This example moves the camera along the x- and y-axes in a series of steps.surf(peaks)axis vis3dt = 0:pi/20:2*pi;dx = sin(t)./40;dy = cos(t)./40;for i = 1:length(t);camdolly(dx(i),dy(i),0)drawnowendSee Alsoaxes, campos, camproj, camtarget, camup, camvaThe axes properties CameraPosition, CameraTarget, CameraUpVector,CameraViewAngle, ProjectionThe “Camera Properties” section in the online Using <strong>MATLAB</strong> <strong>Graphics</strong> topicaccessed via the helpdesk command.2-52

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!