powered by
Create x & y coordinates for an ellipse from parameters. save.
save
makeEllipseCoords(x0 = 0, y0 = 0, b = 1, a = 1, alpha = 0, pct.range = c(0,1), len = 50)
a 2 column (x and y) dataframe with coordinates for drawing an ellipse.
x coordinate of center of ellipse.
y coordinate of center of ellipse.
y axis stretch factor.
x axis stretch factor.
rotation factor.
percentage of the way around the ellipse.
number of points used to draw ellipse.
makeEllipseCoords(x0 = 0, y0 = 0, b = 1, a = 2, alpha = 0)
Run the code above in your browser using DataLab