Learn R Programming

colorRamps (version 2.3)

ygobb: 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

Value

A colormap

Details

I am still working on this one.

References

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

See Also

rgb

Examples

Run this code
# NOT RUN {
image(matrix(1:400, 20), col = ygobb(400))
# }

Run the code above in your browser using DataLab