Learn R Programming

ggthemes (version 2.1.0)

few_pal: Color Palletes from Few "Practical Rules for Using Color in Charts"

Description

Qualitative color palettes from Stephen Few, http://www.perceptualedge.com/articles/visual_business_intelligence/rules_for_using_color.pdf{"Practical Rules for Using Color in Charts"}.

Usage

few_pal(palette = "medium")

Arguments

palette
One of "medium", "dark", or "light"

Details

He suggests the following
  • For bars, use medium.
  • For lines and points use dark if small or thin, and medium otherwise.

See Also

Other colour few: scale_color_few, scale_colour_few, scale_fill_few

Examples

Run this code
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