palettes: Colour paletes for images.

palettesR Documentation

Colour paletes for images.

Description

Some simple colour palettes that may be used for images.

Usage

col.oro(n)

Arguments

n

Integer: number of colours. irainbow and grainbow accept negative values, in which case the order is reversed.

Value

All these functions return a vector of n colours that span the chosen colour palette. col.cloud is a bit special, as it actually returns transparancy values. grainbow is kind of a stupid name for grey-scaling. irainbow and grainbow accept negative values for n, in which case the order is reversed. For best results, some of these functions require RColorBrewer. If this is not available, a similar choice is made from standard colours.


adeckmyn/meteogrid documentation built on Jan. 13, 2025, 11:02 p.m.