This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / Graphics and Sound / Basic Options  /
AspectRatio

  • AspectRatio is an option for Show and related functions which specifies the ratio of height to width for a plot.
  • AspectRatio determines the scaling for the final image shape.
  • AspectRatio -> Automatic determines the ratio of height to width from the actual coordinate values in the plot.
  • The default value AspectRatio -> 1/GoldenRatio is used for two-dimensional plots. AspectRatio -> Automatic is used for three-dimensional plots.
  • See the Mathematica book: Section 1.9.3, Section 1.9.7, Section 2.9.2Section 2.9.4.
  • See also: BoxRatios, PlotRegion.

    Further Examples

    The default setting of AspectRatio is GoldenRatio. Setting the option to Automatic makes the height-to-width ratio .

    Evaluate the cells to compare the graphics.

    In[1]:=

    In[2]:=