Description Usage Arguments Details Author(s) See Also Examples
Plot gradient color legend at given position.
1 2 3 |
x, y |
numeric values of coordinates where the legend is plotted. See |
cols |
a vector of colors. |
at |
integers; index |
legend |
character strings of legend text with the same length of vector |
title |
character string of the legend title. |
width |
numeric, width of the color legend bar. |
height |
numeric, height of the color legend bar. |
gap |
numeric, size of the gap between two color blocks. |
direction |
plot the color legend bar in either vertical or horizontal direction. |
cex.text |
numeric, magnitude of the legend text. |
cex.title |
numeric, magnitude of the legend title. |
x
and y
set the coordinates of bottom left starting point. The extremes of the user coordinates of the plotting region can be found out by par('usr')
.
By default NULL
, parameter at
will be set as a vector with values 1, ceiling(length(cols)/2)
, and length(cols)
.
Minghui Wang <m.h.wang@live.com>
rc.plot.link
, rc.plot.histogram
1 | #This is not to be run alone. Please see tutorial vignette("netweaver") for usage.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.