BoxRatios

BoxRatios

is an option for Graphics3D that gives the ratios of side lengths for the bounding box of the threedimensional picture.

Details

  • BoxRatios->{sx,sy,sz} gives the sidelength ratios.
  • BoxRatios->Automatic normally gives box ratios corresponding to the actual coordinate values in the 3D graphic.

Examples

open allclose all

Basic Examples  (2)

Specify the ratios between the bounding box lengths:

Use the actual coordinate values for the ratios:

Properties & Relations  (6)

Graphics3D uses Automatic by default:

Plot3D, ListPlot3D, and ListPointPlot3D use by default:

ContourPlot3D and ListContourPlot3D use by default:

Others, such as ParametricPlot3D and ListSurfacePlot3D, use Automatic by default:

ReliefPlot determines the appropriate BoxRatios automatically for the shading:

Styles of the edges can be specified by BoxStyle:

Possible Issues  (1)

By default, ParametricPlot3D may yield a graphic with an extreme box ratio:

Use an explicit BoxRatios to get a reasonable result:

Wolfram Research (1988), BoxRatios, Wolfram Language function, https://reference.wolfram.com/language/ref/BoxRatios.html.

Text

Wolfram Research (1988), BoxRatios, Wolfram Language function, https://reference.wolfram.com/language/ref/BoxRatios.html.

CMS

Wolfram Language. 1988. "BoxRatios." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BoxRatios.html.

APA

Wolfram Language. (1988). BoxRatios. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BoxRatios.html

BibTeX

@misc{reference.wolfram_2023_boxratios, author="Wolfram Research", title="{BoxRatios}", year="1988", howpublished="\url{https://reference.wolfram.com/language/ref/BoxRatios.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_boxratios, organization={Wolfram Research}, title={BoxRatios}, year={1988}, url={https://reference.wolfram.com/language/ref/BoxRatios.html}, note=[Accessed: 19-March-2024 ]}