Mathematica 9 is now available
 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]:=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.