For three-dimensional plots the aspect ratio can be set for data with
daspect
and for the plot box with pbaspect
.
See Axis Configuration for controlling the x-, y-, and z-limits for
plotting.
Set the data aspect ratio of the current axes. The aspect ratio is a normalized 3-element vector representing the span of the x, y, and z-axes limits.
Return the data aspect ratio of the current axes.
Set the data aspect ratio mode of the current axes.
Return the data aspect ratio mode of the current axes.
Use the axes, with handle hax, instead of the current axes.
Set the plot box aspect ratio of the current axes. The aspect ratio is a normalized 3-element vector representing the rendered lengths of the x, y, and z-axes.
Return the plot box aspect ratio of the current axes.
Set the plot box aspect ratio mode of the current axes.
Return the plot box aspect ratio mode of the current axes.
Use the axes, with handle hax, instead of the current axes.