R: Add a grid over the existing plot

gridOverlay {ifultools} | R Documentation

## 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

`par`.

### Examples

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

[Package ifultools version 2.0-19 Index]