Using MATLAB Graphics
Search
 
Help Desk
Additional Commands for Setting Aspect Ratio
You can control the aspect ratio of your graph in three ways:
Specifying the relative scales of the x, y, and z axes (data aspect ratio).
Specifying the shape of the space defined by the axes (plot box aspect ratio).
Specifying the axis limits.
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
Aspect Ratio Properties
for a list of the axes properties that control aspect ratio.
[
Previous
|
Help Desk
|
Next
]