gridToDevice {tikzDevice} | R Documentation |
Convert grid coordinates to device coordinates
Description
This function converts a coordinate pair specifying a location in a
grid viewport()
in grid units to a coordinate pair specifying a
location in device units relative to the lower left corner of the plotting
canvas.
Usage
gridToDevice(x = 0, y = 0, units = "native")
Arguments
x |
x coordinate. |
y |
y coordinate. If no values are given for |
units |
Character string indicating the units of |
Value
A tuple of coordinates in device units.
Author(s)
Charlie Sharpsteen source@sharpsteen.net
See Also
unit()
viewport()
convertX()
convertY()
current.transform()
[Package tikzDevice version 0.12.6 Index]