Convert user coordinates to inch-based cordinates for the open display, and back again
usr2in(x, ...)# S4 method for numeric
usr2in(
x,
y,
usr = par("usr"),
pin = par("pin"),
xlog = par("xlog"),
ylog = par("ylog"),
...
)
# S4 method for xy
usr2in(x, ...)
in2usr(x, ...)
# S4 method for numeric
in2usr(
x,
y,
usr = par("usr"),
pin = par("pin"),
xlog = par("xlog"),
ylog = par("ylog"),
...
)
# S4 method for xy
in2usr(x, ...)
a complex
vector of converted coordinates
any of the forms that the coordinates of a scatterplot may be specified
additional arguments for methods
graphics parameters par("usr"), par("pin")
(or replacements)
logicals: are the x- and/or y-scales logarithmic?