hotmetal: Hot Metal Color Table

View source: R/hotmetal.R

hotmetalR Documentation

Hot Metal Color Table

Description

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

Usage

hotmetal(n = 64)

Arguments

n

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

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.

Value

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

See Also

terrain.colors, tim.colors, topo.colors

Examples


hotmetal(10) 
image(outer(1:20,1:20,"+"), col=hotmetal(75), main="hotmetal")


oro.nifti documentation built on Aug. 10, 2022, 5:09 p.m.