LSD (version 4.0-0)

webdesign: Colored rectangular grid

Description

Adds a colored rectangular grid to an existing plot.

Usage

webdesign(xlim, ylim, colpal = "rdbu", xlabels = NULL, ylabels = NULL,
  ...)

Arguments

xlim

x limits, standard graphics parameter.

ylim

y limits, standard graphics parameter.

colpal

a character vector containing R built-in color names or a name of a LSD colorpalette as a character string (see disco() or disco).

xlabels

a character vector containing labels depicted parallel to the x-axis.

ylabels

a character vector containing labels depicted parallel to the y-axis.

...

additional parameters to be passed to abline().

See Also

demotour, disco, colorpalette

Examples

Run this code
# NOT RUN {
emptyplot(c(-5,5),c(-5,5))
labels = c("2 fold","4 fold","8 fold")
webdesign(c(-5,5),c(-5,5),lty = 2,xlabels = labels,ylabels = labels)
# }

Run the code above in your browser using DataLab