planckcolors: Planck CMB colour palette

View source: R/planckcolors.R

planckcolorsR Documentation

Planck CMB colour palette

Description

Generates a colour scale that closely mimics the official colours used to display the Planck CMB temperature map from -300uK to +300uK.

Usage

planckcolors(n)

Arguments

n

integer number of colors in the scale

Value

Returns an n-vector of RGB colour strings.

Author(s)

Danail Obreschkow

Examples

nplot()
rasterImage(rbind(planckcolors(1e3)),0,0,1,1)


cooltools documentation built on Sept. 11, 2026, 5:06 p.m.