Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getArrowPos

Converts coordinates in current plot region to device positions (in inch).


Description

Converts coordinates in current plot region to device positions (in inch).

Usage

getArrowPos(
  x,
  y,
  units = c("coords", "prop"),
  dev = c("plot", "figure", "panel")
)

Arguments

x

Numeric: x coordinate(s)

y

Numeric: y coordinate(s)

units

Coordinates (default) or proportions with respect to plot region.

dev

x and y position are measured with respect to the plot region (default), figure panel, or device.

Value

list

See Also


plotfunctions

Various Functions to Facilitate Visualization of Data and Analysis

v1.4
GPL (>= 2)
Authors
Jacolien van Rij [aut, cre]
Initial release
2020-04-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.