View source: R/heat_tree--shape_generators.R
line_coords | R Documentation |
Generates an n x 2 matrix containing x and y coordinates between 1 and 0 for the points of a line with a specified width in cartesian coordinates.
line_coords(x1, y1, x2, y2, width)
x1 |
( |
y1 |
( |
x2 |
( |
y2 |
( |
width |
( |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.