3-D Visualization Previous page   Next Page

Additional Commands for Setting Aspect Ratio

You can control the aspect ratio of your graph in three ways:

The following commands enable you to set these values.

Command
Purpose
daspect
Set or query the data aspect ratio
pbaspect
Set or query the plot box aspect ratio
xlim
Set or query x-axis limits
ylim
Set or query y-axis limits
zlim
Set or query z-axis limits

See Axes Aspect Ratio Properties for a list of the axes properties that control aspect ratio.


Previous page  Example -- axis Command Options Axes Aspect Ratio Properties Next page

© 1994-2005 The MathWorks, Inc.