AspectRatio

AspectRatio

is an option for Graphics and related functions that specifies the ratio of height to width for a plot.

Details

  • AspectRatio determines the scaling for the final image shape.
  • Typical settings include:
  • Automaticdetermine the ratio from the actual coordinate values
    Fullstretch graphics to fill out the enclosing region
    aan explicit height-to-width ratio

Examples

open allclose all

Basic Examples  (2)

Use numerical values to specify the height-to-width ratio:

In[1]:=
Click for copyable input
Out[1]=

Choose the ratio from the actual plot values:

In[1]:=
Click for copyable input
Out[1]=

Scope  (2)

Generalizations & Extensions  (2)

Properties & Relations  (5)

Possible Issues  (2)

Neat Examples  (1)

See Also

ImageAspectRatio  BoxRatios  PlotRegion  Options  AbsoluteOptions

Tutorials

Introduced in 1988
(1.0)
| Updated in 2007
(6.0)