camroll
Roll the camera about the viewing axis.
📝Syntax
camroll(dtheta)
camroll(ax, dtheta)
📥Input Arguments
Parameter Description
ax a scalar graphics object value: an axes.
dtheta the roll angle in degrees.
📄Description

camroll rotates the CameraUpVector about the line joining the camera position and the camera target, rolling the view by the given angle.

💡Examples
f = figure();
surf(peaks(40), 'EdgeColor', 'none');
camroll(30);
🔗See Also
camupcamorbit
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub