powered by
Gets colours for plotting LWC values in snowprofiles. Colours are consistent with niViz at https://niviz.org
getColoursLWC(Values, Resolution = 101, Verbose = FALSE)
Array with HTML colour codes
Liquid water content values
Resolution of colour scale. Default is 100.
Switch for writing out value and html colour tuplets for debugging.
phaegeli
getColoursDensity, getColoursGrainSize, getColoursGrainType, getColoursHardness, getColoursSnowTemp
LWC <- seq(0,6, by = 0.1) plot(x = rep(1,length(LWC)), y = LWC, col = getColoursLWC(LWC), pch = 19, cex = 3)
Run the code above in your browser using DataLab