vectorGrob: Create a grob defining a geometric vector

View source: R/metR_ArrowGrob.R

vectorGrobR Documentation

Create a grob defining a geometric vector

Description

Function to create a grob defining a geometric vector.

Usage

vectorGrob(
  x,
  y,
  dx,
  dy,
  length,
  preserve.dir,
  default.units = "npc",
  pivot,
  ...
)

Arguments

x

: x-axis location of base (passed on to grid::grob())

y

: y-axis location of base (passed on to grid::grob())

dx

: x-axis offset to tip of vector

dy

: y-axis offset to tip of vector

length

: passed on to grid::grob()

preserve.dir

: passed on to grid::grob()

default.units

: units to attach to x, dx, y, or dy (if not already attached )

pivot

: passed on to grid::grob()

...

: passed on to grid::grob()

Details

Basically a pass-through for grid::grob()

Value

grob describing a vector


wStockhausen/wtsGIS documentation built on Aug. 23, 2023, 2:31 a.m.