To understand the MATLAB® viewing model, see View Overview.
|Camera line of sight|
|Rotate object about specified origin and direction|
|Create 4-by-4 transform matrix|
|View transformation matrices|
|Control camera toolbar programmatically|
|Rotate camera target around camera position|
|Zoom in and out on scene|
|Move camera position and target|
|Position camera to view object or group of objects|
|Rotate camera position around camera target|
|Set or query camera position|
|Set or query projection type|
|Rotate camera about view axis|
|Set or query location of camera target|
|Set or query camera up vector|
|Set or query camera view angle|
|Axes Properties||Axes appearance and behavior|
The Camera toolbar enables you to perform a number of viewing operations interactively.
Graphics provides functionality, analogous to that of a camera with a zoom lens, that enables you to control the view of the scene.
Graphics supports both orthographic and perspective projection types for displaying 3-D graphics. The one you select depends on the type of graphics you are displaying.
Camera graphics is based on a group of axes properties that control the position and orientation of the camera.
You can control the orientation of axes using graphics functions.
camdolly function allows you to move both the position
of the camera and the position of the camera target in unison.
This example shows how to move a camera along a path traced by a stream line and how to move a light source with the camera.
There are several axes properties that control the aspect ratio. Set these properties to achieve the effect you want.