The hotmetal color table patterned after the one used in Matlab.

hotmetal(n = 64)

Arguments

n

is the number of color levels (default = 64).

Value

A vector of character strings giving the colors in hexadecimal format.

Details

Based on the tim.colors function in the fields package. The hotmetal function has been modified to break any dependence on code in the fields package. Spline interpolation (interpSpline) is used when the number of requested colors is not the default.

See also

Examples


hotmetal(10) 
#>  [1] "#010000" "#4C0000" "#960000" "#E00000" "#FF2C00" "#FF7600" "#FFC100"
#>  [8] "#FFFF12" "#FFFF81" "#FFFFF1"
image(outer(1:20,1:20,"+"), col=hotmetal(75), main="hotmetal")