Skip to contents

[Deprecated]

ptol_pal() was deprecated in ggthemes 7.0.0. Use the khroma package instead, which tracks Paul Tol's colour schemes as he revises them.

This palette is the 12-colour qualitative scheme from Tol's 2012 technical note, and has not followed the revisions he has made since. His current schemes are at https://sronpersonalpages.nl/~pault/; the closest successor to this palette is khroma::colour("muted").

Qualitative color palettes from Paul Tol, "Colour Schemes".

Usage

ptol_pal()

Details

Incorporation of the palette into an R package was originally inspired by Peter Carl's Paul Tol 21 Gun Salute

References

Paul Tol. 2012. "Colour Schemes." SRON Technical Note, SRON/EPS/TN/09-002. https://sronpersonalpages.nl/~pault/data/colourschemes.pdf

See also

Other colour ptol: scale_colour_ptol()

Examples

library("scales")

show_col(ptol_pal()(6))
#> Warning: `ptol_pal()` was deprecated in ggthemes 7.0.0.
#>  This palette is the 12-colour qualitative scheme from Paul Tol's 2012
#>   technical note. He has revised his schemes since; the current ones are at
#>   <https://sronpersonalpages.nl/~pault/>.
#>  The khroma package tracks those revisions. The closest successor to this
#>   palette is `khroma::colour("muted")`, or `khroma::scale_colour_muted()` for a
#>   ggplot2 scale.

show_col(ptol_pal()(4))

show_col(ptol_pal()(12))