cameratoolbar
Control camera toolbar programmatically
Syntax
Description
cameratoolbar
displays a camera toolbar in the current figure
that enables interactive manipulation of the axes camera and light. If there is no figure
available, then MATLAB® calls the figure
function to create one. Interacting
with the camera toolbar disables the default set of interactions built into axes in the
figure.
cameratoolbar(
displays a camera
toolbar with the visibility option specified.state
)
returns the
visibility of the camera toolbar in the current figure (1 if visible, 0 if not
visible).tf
= cameratoolbar('GetVisible')
cameratoolbar(
resets the current
camera, scene light, or target to the state before interactions began.reset
)
returns the
current camera motion control mode.m
= cameratoolbar('GetMode')