disco: Disco (DISplays COlorpalettes)

Description Usage Arguments Author(s) See Also Examples

View source: R/LSD.color.r

Description

Displays pre-designed colorpalettes as well as custom-made ones (see colorpalette).

Usage

1
disco(colpal = NULL, nrcol = NULL, alpha = NULL)

Arguments

colpal

a character vector containing R built-in color names or a name of a LSD colorpalette as a character string (displays all colorpalettes, if not specified).

nrcol

a non-negative integer specifying the number of colors to be used (defaults to length of colpal, if not specified).

alpha

alpha value: a two-digit integer between 01 and 99 for color opacity, i.e. appearance of partial or full transparency (usage omitted by default).

Author(s)

Bjoern Schwalb

See Also

colorpalette, demotour

Examples

1
2
disco()
disco("rdbu",10)

Example output



LSD documentation built on July 2, 2020, 4:14 a.m.

Related to disco in LSD...