ellipse | R Documentation |
This functions computes npoints
regularly spaced along an
ellipse.
ellipse(x, y, width, height, angle, npoints = 100)
x, y |
Numeric values corresponding to the coordinates of the center of the ellipse. |
width, height |
Numeric values corresponding to the width and height of the ellipse. |
angle |
Numeric value corresponding to the angle of the ellipse relative to the y axis. |
npoints |
The number of points to compute. |
A matrix with two columns corresponding to the x and y coordinates of the points.
Simon Garnier, garnier@njit.edu
plot(ellipse(0, 0, 30, 50, 33), asp = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.