powered by
Gets colours for plotting snow hardness values in snowprofiles.
getColoursHardness(Values, Resolution = 101, Verbose = FALSE)
Array with HTML colour codes
Hardness values
Resolution of colour scale. Default is 100.
Switch for writing out value and html colour tuplets for debugging.
phaegeli
getColoursDensity, getColoursGrainSize, getColoursGrainType, getColoursLWC, getColoursSnowTemp
Hardness <- c(1:5) plot(x = rep(1,length(Hardness)), y = Hardness, col = getColoursHardness(Hardness), pch = 19,cex = 3)
Run the code above in your browser using DataLab