wsj_pal: Wall Street Journal color palette (discrete)

Description Usage Arguments Palettes See Also

View source: R/wsj.R

Description

The Wall Street Journal uses many different color palettes in its plots. This collects a few of them, but is by no means exhaustive. Collections of these plots can be found on the WSJ Graphics Twitter feed and Pinterest.

Usage

1
wsj_pal(palette = "colors6")

Arguments

palette

character The color palette to use: . \Sexpr[results=rd]{ggthemes:::rd_optlist(names(ggthemes::ggthemes_data$wsj$palettes))}

Palettes

The following palettes are defined,

rgby

Red/Green/Blue/Yellow theme. Examples: https://twitpic.com/b2e3v2. Up to four values.

red_green

Green/red two-color scale for good/bad. Examples: https://twitpic.com/b1avj6, https://twitpic.com/a4kxcl.

green_black

Black-green 4-color scale for 'Very negative', 'Somewhat negative', 'somewhat positive', 'very positive'. Examples: https://twitpic.com/awbua0.

dem_rep

Democrat/Republican/Undecided blue/red/gray scale. Examples: https://twitpic.com/awbua0.

colors6

Red, blue, gold, green, orange, and black palette. Examples: https://twitpic.com/9gfg5q.

See Also

Other colour wsj: scale_colour_wsj()


ggthemes documentation built on Jan. 20, 2021, 5:05 p.m.

Related to wsj_pal in ggthemes...