View source: R/metR_ArrowGrob.R
arrowGrob | R Documentation |
Function to create a grob representing an arrow.
arrowGrob(x, y, angle, length, pivot, default.units = "npc", ...)
x |
: x-axis location of base (passed on to |
y |
: y-axis location of base (passed on to |
angle |
: angle of shaft (passed on to |
length |
: length of shaft (passed on to |
pivot |
: passed on to |
default.units |
: (passed on to |
... |
: passed on to |
Code stolen from from Elio Campitelli (https://github.com/eliocamp/metR) and adapted
by WTS. Uses grid::grob()
with cl="arrow2"
.
a grid grob.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.