hotmetal: Hot Metal Color Table

Description Usage Arguments Details Value See Also Examples

View source: R/hotmetal.R

Description

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

Usage

1
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

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

neuroconductor-devel/oro.nifti documentation built on May 6, 2021, 1:49 p.m.