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:

Introduced in 1988
 (1.0)