This function draws a grill within a Grid viewport.
grid.grill(h = unit(seq(0.25, 0.75, 0.25), "npc"),
v = unit(seq(0.25, 0.75, 0.25), "npc"),
default.units = "npc", gp=gpar(col = "grey"), vp = NULL)
A numeric vector or unit object indicating the horizontal location of the vertical grill lines.
A numeric vector or unit object indicating the vertical location of the horizontal grill lines.
A string indicating the default units to use
if h
or v
are only given as numeric vectors.
An object of class gpar
, typically the output
from a call to the function gpar
. This is basically
a list of graphical parameter settings.
A Grid viewport object.
None.