R: Returns a gradient color map

ygobb {colorRamps} | R 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))

[Package colorRamps version 2.3 Index]