toFig | R Documentation |
Convert user coordinates to figure region coordinates and conversely.
toFig(x, y = NULL) toUser(x, y = NULL)
x |
the x coordinates of a set of points. Alternatively, a
single argument |
y |
the y coordinates of a set of points. |
These functions can be used anytime, however, there are useful only once
graphics::plot.new()
has been called.
toFig()
: Convert figure region coordinates into user coordinates.
toUser()
: Convert user coordinates into figure region coordinates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.