Learn R Programming

ggthemes (version 3.5.0)

few_pal: Color Palettes from Few's "Practical Rules for Using Color in Charts"

Description

Qualitative color palettes from Stephen Few,

Usage

few_pal(palette = "medium")

Arguments

palette

One of c("medium", "dark", "light").

Details

Use the light palette for filled areas, such as bar charts. The medium palette should be used for points and lines. The dark palette should be used for either highlighting specific points, or if the lines and points are small or thin. All these palettes contain nine colors.

References

Few, S. (2012) Show Me the Numbers: Designing Tables and Graphs to Enlighten. 2nd edition. Analytics Press.

"Practical Rules for Using Color in Charts".

See Also

Other colour few: scale_colour_few

Examples

Run this code
# NOT RUN {
library("scales")

show_col(few_pal()(7))
show_col(few_pal("dark")(7))
show_col(few_pal("light")(7))
# }

Run the code above in your browser using DataLab