Main Content

Camera Views

View point positioning

To understand the MATLAB®viewing model, seeView Overview.

Functions

view Camera line of sight
rotate Rotate object about specified origin and direction
makehgtform Create 4-by-4 transform matrix
viewmtx View transformation matrices
cameratoolbar Control camera toolbar programmatically
campan Rotate camera target around camera position
camzoom Zoom in and out on scene
camdolly Move camera position and target
camlookat Position camera to view object or group of objects
camorbit Rotate camera position around camera target
campos Set or query camera position
camproj Set or query projection type
camroll Rotate camera about view axis
camtarget Set or query location of camera target
camup Set or query camera up vector
camva Set or query camera view angle

Properties

Axes Properties Axes appearance and behavior

Topics

Tools Workflow

Programmatic Workflow