View source: R/getColoursHardness.R
getColoursHardness | R Documentation |
Gets colours for plotting snow hardness values in snowprofiles.
getColoursHardness(Values, Resolution = 101, Verbose = FALSE)
Values |
Hardness values |
Resolution |
Resolution of colour scale. Default is 100. |
Verbose |
Switch for writing out value and html colour tuplets for debugging. |
Array with HTML colour codes
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.