Description Usage Arguments Value See Also Examples
Constructs a grid with provided dimensions (row, col), character values for gridlines, and a step parameter noting the number of rows and columns between each gridline.
1 2 3 4 5 6 |
dim |
|
step |
numeric vector describing grid step across |
text |
character vector of values for the grid, in order: horizontal grid line, vertical grid line, grid intersection, left border, right border, top border, bottom border, corners (upper-left, upper-right, lower-left, lower-right), ticks (right, bottom, left, top) |
border |
logical value for whether a border should be included. |
rowxcol matrix
Other drawing functions:
box_at(),
draw_arc(),
draw_bezier(),
draw_circle(),
draw_ellipse(),
draw_fn(),
draw_lerp(),
draw_path(),
draw_ray(),
draw_rect(),
draw_shape(),
fill_circle(),
fill_ellipse(),
fill_rect(),
fill_shape(),
grid_at(),
hline_at(),
hline(),
vline_at(),
vline()
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.