CustomColors | R Documentation |
Pre-defined color ramp palettes which are used in other HYPEtools
functions.
ColNitr(n)
ColPhos(n)
ColPrec(n)
ColTemp(n)
ColQ(n)
ColDiffTemp(n)
ColDiffGeneric(n)
ColBlues(n)
ColReds(n)
ColGreens(n)
ColYOB(n)
ColPurples(n)
n |
Integer, number of colors to generate. |
These functions build on calls to colorRampPalette
.
All functions return vectors of length n
with interpolated RGB color values in hexadecimal
notation (see rgb
).
ColNitr(10)
ColGreens(6)
barplot(rep(1, 11), col = ColTemp(11))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.