ellipse | R Documentation |
Draw an ellipse
ellipse(x, y, width, height = width, theta = 0, npoints = 10, plot = FALSE)
x |
Center x coordinate of ellipse. |
y |
Center y coordinate of ellipse. |
width |
Width of ellipse. |
height |
Length of ellipse. |
theta |
Angle/heading. |
npoints |
Number of vertices to use to define the ellipse boundary. |
plot |
Boolean; print a diagnostic plot? |
A list with three slots: coords
(a data.frame
of coordinates
defining ellipse boundary), center
(the x
and y
inputs), and theta
(the input angle).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.