Next: , Up: Three-Dimensional Plots


15.2.2.1 Aspect Ratio

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.

— Function File: daspect (data_aspect_ratio)

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. — Function File: data_aspect_ratio = daspect ( )

Return the data aspect ratio of the current axes. — Function File: daspect (mode)

Set the data aspect ratio mode of the current axes. — Function File: data_aspect_ratio_mode = daspect ("mode")

Return the data aspect ratio mode of the current axes. — Function File: daspect (hax, ...)

Use the axes, with handle hax, instead of the current axes.

See also: axis, pbaspect, xlim, ylim, zlim.

— Function File: pbaspect (plot_box_aspect_ratio)

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. — Function File: plot_box_aspect_ratio = pbaspect ( )

Return the plot box aspect ratio of the current axes. — Function File: pbaspect (mode)

Set the plot box aspect ratio mode of the current axes. — Function File: plot_box_aspect_ratio_mode = pbaspect ("mode")

Return the plot box aspect ratio mode of the current axes. — Function File: pbaspect (hax, ...)

Use the axes, with handle hax, instead of the current axes.

See also: axis, daspect, xlim, ylim, zlim.