# Scatterplot matrix of qualitative color palette

R · 2.1.0

[Source](<https://github.com/jolars/qualpalr/blob/7fd73fd3b3ee455008662f41db71da21244bc5d7/R/plotting.R>)

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

<a id="scatterplot-matrix-of-qualitative-color-palette"></a>

## Scatterplot matrix of qualitative color palette

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


<a id="usage"></a>

## Usage

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

<a id="arguments"></a>

## Arguments

`x`

A list object of class `"qualpal"` generated from
[`qualpal`](<qualpal>).

`colorspace`

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

`...`

Arguments to pass on to [`pairs`](<https://rdrr.io/r/graphics/pairs.html>).

<a id="examples"></a>

## Examples

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

![Example figure](<../../../assets/7e9925b756496425bda805bb3e15fc55934c675e5d4cd43752617a3bad69a7e8.png>)

![Example figure](<../../../assets/f9257cf3b3c476ea0a1b65bfe70ec7c77deeb401f1d6ebe7c729caf918a8ca46.png>)

<a id="see-also"></a>

## See also

[`qualpal`](<qualpal>),
[`plot.qualpal`](<plot.qualpal>),
[`pairs`](<https://rdrr.io/r/graphics/pairs.html>)
