Learn R Programming

ggthemes (version 1.3.2)

tableau_color_pal: Color Palettes based on Tableau (discrete)

Description

Color palettes used in http://www.tableausoftware.com/{Tableau}.

Usage

tableau_color_pal(palette = "tableau10")

Arguments

palette
Palette name

References

http://vis.stanford.edu/color-names/analyzer/

Maureen Stone, "Designing Colors for Data" (slides), at the International Symposium on Computational Aesthetics in Graphics, Visualization, and Imaging, Banff, AB, Canada, June 22, 2007 http://www.stonesc.com/slides/CompAe%202007.pdf.

Heer, Jeffrey and Maureen Stone, 2012 "Color Naming Models for Color Selection, Image Editing and Palette Design", ACM Human Factors in Computing Systems (CHI) http://vis.stanford.edu/files/2012-ColorNameModels-CHI.pdf.

See Also

Other colour tableau: scale_color_tableau, scale_colour_tableau, scale_fill_tableau

Examples

Run this code
library(scales)
show_col(tableau_color_pal("tableau20")(20))
show_col(tableau_color_pal("tableau10")(10))
show_col(tableau_color_pal("tableau10medium")(10))
show_col(tableau_color_pal("tableau10light")(10))
show_col(tableau_color_pal("colorblind10")(10))
show_col(tableau_color_pal("trafficlight")(10))
show_col(tableau_color_pal("purplegray12")(12))
show_col(tableau_color_pal("bluered12")(12))
show_col(tableau_color_pal("greenorange12")(12))

Run the code above in your browser using DataLab