inch2coords: Convert device position (inch) to coordinates in current plot...

Description Usage Arguments Value See Also

View source: R/util.R

Description

Convert device position (inch) to coordinates in current plot region.

Usage

1
inch2coords(xpos, ypos = NULL, simplify = FALSE)

Arguments

xpos

x position in device, inches between position and left side of device. When defined as two-number vector, x- and y-position as measured from bottomleft corner of device.

ypos

y position (in inches) from bottom of device.

simplify

Logical: whether or not to output a vector instead of a list.

Value

list or 2-number vector

See Also

Other Utility functions: findAbsMin(), find_n_neighbors(), firstLetterCap(), getArrowPos(), getDec(), getRange(), getRatioCoords(), get_palette(), group_sort(), isColor(), list2str(), move_n_point(), orderBoxplot(), se(), sortGroups()


plotfunctions documentation built on April 28, 2020, 5:10 p.m.