Usage
grid.move.to(x = 0, y = 0, default.units = "npc", name = NULL,
draw = TRUE, vp = NULL)moveToGrob(x = 0, y = 0, default.units = "npc", name = NULL,
vp = NULL)
grid.line.to(x = 1, y = 1, default.units = "npc",
arrow = NULL, name = NULL,
gp = gpar(), draw = TRUE, vp = NULL)
lineToGrob(x = 1, y = 1, default.units = "npc", arrow = NULL,
name = NULL, gp = gpar(), vp = NULL)
Arguments
x
A numeric value or a unit object specifying an x-value.
y
A numeric value or a unit object specifying a y-value.
default.units
A string indicating the default units to use
if x
or y
are only given as numeric values.
arrow
A list describing arrow heads to place at either end
of the line, as produced by the arrow
function.
name
A character identifier.
draw
A logical value indicating whether graphics output
should be produced.
gp
An object of class gpar
, typically the output
from a call to the function gpar
. This is basically
a list of graphical parameter settings.
vp
A Grid viewport object (or NULL).