webdesign: Colored rectangular grid

Description Usage Arguments Author(s) See Also Examples

View source: R/LSD.utilities.R

Description

Adds a colored rectangular grid to an existing plot.

Usage

1
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().

Author(s)

Bjoern Schwalb

See Also

demotour, disco, colorpalette

Examples

1
2
3
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)

Example output



LSD documentation built on July 2, 2020, 4:14 a.m.

Related to webdesign in LSD...