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.

camtargetPurpose2camtargetSet or query the location of the camera targetSyntaxDescriptioncamtargetcamtarget([camera_target])camtarget('mode')camtarget('auto')camtarget('manual')camtarget(axes_handle,...)The camera target is the location in the axes that the camera points to. Thecamera remains oriented toward this point regardless of its position.camtarget with no arguments returns the location of the camera target in thecurrent axes.camtarget([camera_target]) sets the camera target in the current axes tothe specified value. Specify the target as a three-element vector containing thex-, y-, and z-coordinates of the desired location in the data units of the axes.camtarget('mode') returns the value of the camera target mode, which can beeither auto (the default) or manual.camtarget('auto') sets the camera target mode to auto.camtarget('manual') sets the camera target mode to manual.camtarget(axes_handle,...) performs the set or query on the axes identifiedby the first argument, axes_handle. When you do not specify an axes handle,camtarget operates on the current axes.Remarkscamtarget sets or queries values of the axes object Cameratarget andCameraTargetMode properties.When the camera target mode is auto, <strong>MATLAB</strong> positions the camera target atthe center of the axes plot box.2-64

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

Saved successfully!

Ooh no, something went wrong!