3-D Visualization Previous page   Next Page

Rotation Without Resizing of Graphics Objects

When CameraViewAngleMode is auto, MATLAB calculates the CameraViewAngle so that the scene is as large as can fit in the axes position rectangle. This causes an apparent size change during rotation of the scene. To prevent resizing during rotation, you need to set the CameraViewAngleMode to manual (which happens automatically when you specify a value for the CameraViewAngle property). To do this in the orbit function, add the statement


Previous page  Revolving Around the Scene Rotation About the Viewing Axis Next page

© 1994-2005 The MathWorks, Inc.