Qualpal
Repositories

Scatterplot matrix of qualitative color palette

R · r · 2.1.0

pairs.qualpal

Plots the colors in an object of class "qualpal" as a scatterplot matrix on either the DIN99d (the default) or HSL color space.

Usage

pairs.qualpal(x, colorspace = c("DIN99d", "HSL", "RGB"), ...)

Arguments

x

A list object of class "qualpal" generated from qualpal.

colorspace

The color space in which to plot the colors ("DIN99d", "HSL", or "RGB").

...

Arguments to pass on to pairs.

Examples

col_pal <- qualpal(3)
pairs(col_pal)
pairs(col_pal, colorspace = "HSL")

Example figure

Example figure

See also

qualpal, plot.qualpal, pairs

S3 generic: graphics::pairs