Learn R Programming

ifultools (version 2.0-26)

gridOverlay: Add a grid over the existing plot

Description

Overlays a grid on the current plot at the ordinate and abscissa tick markers.

Usage

gridOverlay(lty = "dotted", col = "gray", density = 3, ...)

Arguments

...

additional arguments passed directly to the par function.

col

line color ala par function. Default: "gray".

density

line density ala par function. Default: 3.

lty

line type ala par function. Default: "dotted".

See Also

Examples

Run this code
## plot the chaotic beam data and overlay a grid 
old.plt <- splitplot(1,1,1)
plot(rnorm(100))
gridOverlay()
par(old.plt)

Run the code above in your browser using DataLab