getColoursHardness: Gets colours for plotting snow hardness values

View source: R/getColoursHardness.R

getColoursHardnessR Documentation

Gets colours for plotting snow hardness values

Description

Gets colours for plotting snow hardness values in snowprofiles.

Usage

getColoursHardness(Values, Resolution = 101, Verbose = FALSE)

Arguments

Values

Hardness values

Resolution

Resolution of colour scale. Default is 100.

Verbose

Switch for writing out value and html colour tuplets for debugging.

Value

Array with HTML colour codes

Author(s)

phaegeli

See Also

getColoursDensity, getColoursGrainSize, getColoursGrainType, getColoursLWC, getColoursSnowTemp

Examples


Hardness <- c(1:5)
plot(x = rep(1,length(Hardness)), y = Hardness,
     col = getColoursHardness(Hardness), pch = 19,cex = 3)


sarp.snowprofile documentation built on March 31, 2023, 5:17 p.m.