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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

camorbitformed with the camera target at the apex and the camera position forming thebase:surf(peaks)axis vis3dfor i=1:36camorbit(10,0,'data',[0 1 0])drawnowendRotation in the camera coordinate system orbits the camera around the axesalong a circle while keeping the center of a circle at the camera target.surf(peaks)axis vis3dfor i=1:36camorbit(10,0,'camera')drawnowendSee Alsoaxes, axis('vis3d'), camdolly, campan, camzoom, camroll2-58

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

Saved successfully!

Ooh no, something went wrong!