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.
- : data_aspect_ratio = daspect ()
- : daspect (data_aspect_ratio)
- : daspect (mode)
- : data_aspect_ratio_mode = daspect ("mode")
- : daspect (hax, …)
-
Query or 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-axis limits.
daspect (mode)
Set the data aspect ratio mode of the current axes. mode is either
"auto"
or"manual"
.daspect (
"mode"
)Return the data aspect ratio mode of the current axes.
daspect (hax, …)
Operate on the axes in handle hax instead of the current axes.
- : plot_box_aspect_ratio = pbaspect ( )
- : pbaspect (plot_box_aspect_ratio)
- : pbaspect (mode)
- : plot_box_aspect_ratio_mode = pbaspect ("mode")
- : pbaspect (hax, …)
-
Query or 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.
pbaspect(mode)
Set the plot box aspect ratio mode of the current axes. mode is either
"auto"
or"manual"
.pbaspect ("mode")
Return the plot box aspect ratio mode of the current axes.
pbaspect (hax, …)
Operate on the axes in handle hax instead of the current axes.
© 1996–2020 John W. Eaton
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions.
https://octave.org/doc/v6.3.0/Aspect-Ratio.html