showPalettes: Show Palettes

View source: R/showPalettes.R

showPalettesR Documentation

Show Palettes

Description

Show system palettes.

Usage

showPalettes(palette = NULL, cex = 1)

Arguments

palette

palette name, or NULL to show all palettes.

cex

text size for main title.

Value

List of palettes.

See Also

showColors.

Examples

showPalettes()
showPalettes("Tableau")

f <- function() barplot(rep(1, 9), col=col)
opar <- par(mfrow=c(2, 3))
col <- palette.colors(9, "Set 1"); f()
col <- palette.colors(9, "Tableau"); f()
col <- palette.colors(9, "Classic"); f()
col <- palette.colors(9, "Paired"); f()
col <- palette.colors(9, "Alphabet"); f()
col <- palette.colors(9, "Polychrome"); f()
par(opar)


arnima-github/arni documentation built on Oct. 28, 2023, 6:18 p.m.