3-D Visualization    

Defining the View


View Definition Topics

The view is the particular orientation you select to display your graph or graphical scene. The term viewing refers to the process of displaying a graphical scene from various directions, zooming in or out, changing the perspective and aspect ratio, flying by, and so on.

This section describes how to define the various viewing parameters to obtain the view you want. Generally, viewing is applied to 3-D graphs or models, although you may want to adjust the aspect ratio of 2-D views to achieve specific proportions or make a graph fit in a particular shape.

MATLAB viewing is composed of two basic areas:

Positioning the Viewpoint

Setting the Aspect Ratio

MATLAB automatically sets the view when you create a graph. The actual view that MATLAB selects depends on whether you are creating a 2- or 3-D graph. See the "Default Viewpoint Selection" and "Default Aspect Ratio Selection" sections in this chapter for a description of how MATLAB defines the standard view.


 Texture Mapping Setting the Viewpoint