powered by
Pre-defined color ramp palettes which are used in other HYPEtools functions.
HYPEtools
ColNitr(n)ColPhos(n)ColPrec(n)ColTemp(n)ColQ(n)ColDiffTemp(n)ColDiffGeneric(n)ColBlues(n)ColReds(n)ColGreens(n)ColYOB(n)ColPurples(n)
ColPhos(n)
ColPrec(n)
ColTemp(n)
ColQ(n)
ColDiffTemp(n)
ColDiffGeneric(n)
ColBlues(n)
ColReds(n)
ColGreens(n)
ColYOB(n)
ColPurples(n)
All functions return vectors of length n with interpolated RGB color values in hexadecimal notation (see rgb).
n
rgb
Integer, number of colors to generate.
These functions build on calls to colorRampPalette.
colorRampPalette
ColNitr(10) ColGreens(6) barplot(rep(1, 11), col = ColTemp(11))
Run the code above in your browser using DataLab