Description Usage Arguments Value Author(s) See Also Examples
drawArrow
draws arrow segments from the first point to
the second over an Image
object. This operation is destructive:
it changes irreversibly the Image
object and cannot be undone.
1 2 |
image |
An |
pt1_x |
A numeric value or vector representing the x coordinates of the first end of each arrow. |
pt1_y |
A numeric value or vector representing the y coordinates of the first end of each arrow. |
pt2_x |
A numeric value or vector representing the x coordinates of the second end of each arrow. |
pt2_y |
A numeric value or vector representing the y coordinates of the second end of each arrow. |
tip_length |
A numeric value or vector representing the length of each arrow's tip as a fraction of each arrow's length (default: 0.1). |
color |
A value or vector of any kind of R color specification compatible
with |
thickness |
A numeric value or vector representing the thickness in pixels of each arrow (default: 1). |
This function does not return anything. It modifies image
in
place.
Simon Garnier, garnier@njit.edu
1 | # TODO
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.