auto.aspect | R Documentation |
Uses Cleveland's "banking to 45" rule to determine an optimal aspect ratio for a plot.
auto.aspect(x, y)
x, y |
numeric vectors of coordinates defining a continuous curve, or
multiple curves delimited by |
An aspect ratio, suitable for the asp
parameter to
plot
or plot.window
.
Tom Minka
data(lynx) plot(lynx) plot(lynx,asp=auto.aspect(time(lynx),lynx))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.