matlab.like: Generate color palettes similar to the matlab default

View source: R/colorRamps.R

matlab.likeR Documentation

Generate color palettes similar to the matlab default

Description

Generates matlab-like color palettes

Usage

matlab.like(n)
matlab.like2(n)
blue2green2red(n)

Arguments

n

number of colors

Details

blue2green2red is simply an alias for matlab.like2.

Value

a color palette

Author(s)

Timothy H. Keitt

References

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

Examples

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

colorRamps documentation built on May 29, 2024, 7:35 a.m.