ramps: Returns a gradient color map

ygobbR Documentation

Returns a gradient color map

Description

ygobb makes a color map that runs from yellow -> green -> olive -> blue -> black.

Usage

ygobb(n)

Arguments

n

number of colors

Details

I am still working on this one.

Value

A colormap

Author(s)

Tim Keitt <tkeitt@gmail.com>

References

Keitt, T. H. (2008) Coherent ecological dynamics induced by large scale disturbance. Nature 454:331-334

See Also

rgb

Examples

image(matrix(1:400, 20), col = ygobb(400))

colorRamps documentation built on May 2, 2022, 5:07 p.m.