Learn R Programming

LSD (version 2.0)

display.colorpalette: Display colorpalette

Description

displays color palettes of several R packages (grDevices, RColorBrewer, colorRamps and own palettes)

Usage

display.colorpalette(name, n = NULL, alpha = NULL)

Arguments

name
name of the colorpalette
n
number of colors to be used
alpha
alpha value for color opacity

See Also

disco,distinctcolors,LSD.demo.tour

Examples

Run this code
demo.display.colorpalette()

Run the code above in your browser using DataLab