Description Usage Arguments Value See Also
The function creates a dataframe with the points required to plot an ellipse.
1 | get_ellipse(x = 0, y = 0, a = 1, b = 1, angle = pi/3, n = 300)
|
x, y |
Coordinates for the centre of the ellipse. Default are |
a, b |
Major and minor semi-axis of the ellipse. Default are |
angle |
Angle between the x-axis and the major semi-axis. Default is |
n |
Number of data points in the dataset. Default is |
The function returns a dataset of x, y coordinates required to draw an ellipse with
ggplot2
. This function is used internally by the function isoplot.pm10
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.