grid.render(grids, x.scale=NULL, y.scale=NULL, col=par("col"), lty=par("lty"), lwd=par("lwd"))
NULL
if the
x
elements of
grids
are in what
plot
considers to be the user coordinates for the plot.
If the coordinates are given as calendar times or in user coordinates
which are piecewise-linear transformations of
plot
coordinates, then
scale
is a 2-element list
where the first element is a monotonic sequence in user-coordinates giving
the endpoints of the linear regions, and the second element is the
plot
coordinates of those points. Points which lie outside the
scale region will be moved to the ends and a warning will generated.
x.scale
.
par
.
par
.
par
.
The
grids
argument is a list or a list of lists with the following elements
(at least one of
x
and
y
must be present).
Note that if it is a named list of lists,
default plotting parameters for each list will come from
trellis.par.get(name)
if not supplied in that list element;
the default list element name is
"minor.grid"
if the list is
not named, which means that
trellis.par.get("minor.grid")
supplies the defaults.
par
.
par
.
par
.
xtck <- 1:10 ytck <- 5 * xtck plot(xtck, ytck) grid.render(grids = list(x = xtck, y = ytck))