Create and plot a continuous color legend
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
zlim |
A numeric vector of length two. The smallest and largest z-value
of |
zextreme |
A numeric vector length two. The minimum and maximum z-value
of |
col_desc |
A list with the color names. A returned object from a call to
the function |
grid |
A |
box |
A numeric vector of length four. The SW (lower left) and NE (upper
right) corners of the color legend on the plotted |
whitebox |
A logical value. If |
horiz |
A logical value. If |
signed |
A numeric value. A scaling value multiplied with the z-values for determining legend values. |
fun_inv_ens |
A function or |
at |
The points at which tick-marks are to be drawn. By default
(when |
tick |
A logical value. Indicates whether or not tickmarks should be added to the legend color ramp. |
labels |
The annotations to be written at the tick-marks,
see |
srt |
A numerical value. String rotation in degrees, see
|
cex |
A numerical value. Numeric character expansion factor, see
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.