line2user: Get margin line location in usr coordinates

Description Usage Arguments Details

View source: R/line2user.R

Description

Get margin line location in usr coordinates

Usage

1

Arguments

line

the number of lines into the margin

side

an integer specifying which side of the plot: 1=below, 2=left, 3=above and 4=right.

outer

a logical value indicating whether line refers to the outer plot margin, rather than the standard plot margin

Details

Code credit: https://stackoverflow.com/a/30835971/1623354; modification for 'outer' parameter added by DLF.


daynefiler/dlfUtils documentation built on Oct. 22, 2021, 9:49 a.m.