LineToUser | R Documentation |
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.
LineToUser(line, side)
line |
the number of lines |
side |
the side of the plot |
For the LineToUser
function to work, there must be an open plot.
the user coordinates for the given lines
Andri Signorell <andri@signorell.net>
mtext
plot(1:10)
LineToUser(line=2, side=4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.