View source: R/metR_ArrowGrob.R
vectorGrob | R Documentation |
Function to create a grob defining a geometric vector.
vectorGrob(
x,
y,
dx,
dy,
length,
preserve.dir,
default.units = "npc",
pivot,
...
)
x |
: x-axis location of base (passed on to |
y |
: y-axis location of base (passed on to |
dx |
: x-axis offset to tip of vector |
dy |
: y-axis offset to tip of vector |
length |
: passed on to |
preserve.dir |
: passed on to |
default.units |
: units to attach to x, dx, y, or dy (if not already attached ) |
pivot |
: passed on to |
... |
: passed on to |
Basically a pass-through for grid::grob()
grob describing a vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.