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.
  • AspectRatio->Automatic determines the ratio of height to width from the actual coordinate values in the plot.
  • AspectRatio->Full specifies that a graphic should be stretched so as to fill out its enclosing region in a Grid or related construct.

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)