tim.colors {fields}R Documentation

Tim's useful color table

Description

A pleasing rainbow style color table patterned after that used in Matlab by Tim.

Usage

tim.colors(n = 64)

Arguments

n Number of color levels. The setting n=64 is the orignal definition.

Details

Ask Tim.

Value

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

See Also

topo.colors, terrain.colors

Examples


tim.colors(10) 
# returns an array of 10 strings in hex format
#e.g. (red, green,  blue) values of   (16,255, 239)
# translates to "#10FFEF" .

 

image( outer( 1:20,1:20,"+"), col=tim.colors( 75))

[Package fields version 3.3.1 Index]