View source: R/generate_rotor_grids.R
get_y_grid | R Documentation |
Taking the center of the rotor circle as the origin,
get_y_grid
generates a grid of vertical distances y (by
yinc
increments) from the x-axis to the outer edge of the rotor
circle, across width intervals x (by xinc
increments) between
the center and maximum rotor width.
Returned grid represents the left-half of the rotor's circle.
Distances are expressed as proportion of rotor radius (i.e. y is dimensionless).
get_y_grid(x_grid, yinc = 0.05)
x_grid |
A 2D array, with horizontal distances from the rotor's vertical axis, expressed as the proportion of rotor radius, for the left-half of the rotor circle area. |
yinc |
a numeric value, the grid increment along the y-axis |
2D array giving a grid of vertical distances y from the rotor's horizontal axis, expressed as the proportion of rotor radius, for the left-half of the rotor circle area. Negative values represent distances from the bottom half of the rotor circle.
x_grid <- get_x_grid(yinc=0.05, xinc=0.05) get_y_grid(x_grid,yinc=0.05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.