Get the current aspect ratio of a plot

Share:

Description

This function is used by draw.pie to draw circles (rather than ellipses) in existing plots.

Usage

1

Value

Returns the aspect ratio of the current plot.

Note

If the plot is re-sized get.asp is not automatically updated

Author(s)

Hans Gerritsen

See Also

draw.pie

Examples

1
2
plot(1:10,(1:10)/10)
get.asp()