Viewer to update, specified as a Viewer object. For example, you
can specify a Viewer object created by the viewer3d
function, or the parent of the object returned by the volshow
function.
The viewangle function updates the camera properties of the
specified Viewer object. See Viewer Properties for detailed descriptions of the camera properties.
Azimuth, specified as a numeric scalar angle in degrees from the negative
y-axis. Increasing this angle corresponds to counterclockwise
rotation about the z-axis when viewing the
xy-plane from above.
The azimuth is typically between –180 and 180 degrees. If you specify a value
outside this range, the function wraps the value, such that 0 and
360 result in the same view.
Elevation, specified as a numeric scalar angle in degrees between the line of sight
and the xy-plane. Increasing the elevation from
-90 to 90 degrees corresponds to a rotation from
the negative z-axis to the positive z-axis. The
function sets values less than -90 to -90 and
values greater than 90 to 90.