Examples for 'ggthemes::theme_wsj'


Wall Street Journal theme

Aliases: theme_wsj

Keywords:

### ** Examples

library("ggplot2")
Keep up to date with changes at https://www.tidyverse.org/blog/
p <- ggplot(mtcars) +
     geom_point(aes(x = wt, y = mpg, colour = factor(gear))) +
     facet_wrap(~am) +
     ggtitle("Diamond Prices")
p + scale_colour_wsj("colors6", "") + theme_wsj()
plot of chunk example-ggthemes-theme_wsj-1
# Use a gray background instead
p + scale_colour_wsj("colors6", "") + theme_wsj(color = "gray")
plot of chunk example-ggthemes-theme_wsj-1

[Package ggthemes version 4.2.4 Index]