| grid.lines {grid} | R Documentation |
This function draws a series of lines within a Grid viewport.
grid.lines(x = unit(c(0, 1), "npc", units.per.obs),
y = unit(c(0, 1), "npc", units.per.obs),
default.units = "npc", units.per.obs = FALSE,
gp=gpar(), draw = TRUE, vp = NULL)
x |
A numeric vector or unit object specifying x-values. |
y |
A numeric vector or unit object specifying y-values. |
default.units |
A string indicating the default units to use
if x or y are only given as numeric vectors. |
units.per.obs |
A logical value to indicate whether each individual (x, y) location has its own unit(s) specified. |
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. |
draw |
A logical value indicating whether graphics output should be produced. |
vp |
A Grid viewport object (or NULL). |
The "grob" object contains an object of class "lines".
An object of class "grob".
Paul Murrell