| webdesign {LSD} | R Documentation |
Adds a colored rectangular grid to an existing plot.
webdesign(xlim, ylim, colpal = "rdbu", xlabels = NULL, ylabels = NULL, ...)
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 |
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(). |
Bjoern Schwalb
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)