Learn R Programming

oro.nifti (version 0.11.4)

hotmetal: Hot Metal Color Table

Description

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

Usage

hotmetal(n = 64)

Value

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

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.

See Also

Examples

Run this code

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

Run the code above in your browser using DataLab