Description Usage Arguments Value See Also Examples
Calculate the path of an ellipse within a grid.
1 | path_ellipse(yx = c(0, 0), rx = 1, ry = 1, n = 50)
|
yx |
|
rx |
radius along the x-axis in grid points |
ry |
radius along the y-axis in grid points |
n |
number of points along curve to calculate |
Nx2 matrix of (row, column) coordinates
Other path-fitting functions:
path_arc(),
path_bezier(),
path_circle(),
path_fill(),
path_fn(),
path_intersection(),
path_lerp(),
path_ray(),
path_rect(),
path_shape()
1 | path_ellipse(yx=c(10,10), rx=8, ry = 4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.