Functions like mtext or axis use the line argument to
set the distance from plot. Sometimes it's useful to have the distance in
user coordinates. lineToUser() does this nontrivial conversion.
See also
Other graphics.layout:
abcCoords(),
axTicks,
axisBreak(),
isValidPlotRegion(),
mar(),
plotFacet(),
spreadOut()
Examples
plot(1:10)
lineToUser(line=2, side=4)
#> [1] 11.07646
