| scale_colour_economist | R Documentation |
Color scales using the colors in the Economist graphics.
scale_colour_economist(...)
scale_color_economist(...)
scale_fill_economist(...)
... |
Arguments passed on to
|
A ggplot2 scale object.
theme_economist() for examples.
Other colour economist:
economist_pal(),
economist_seq_pal(),
scale_colour_economist_c()
library("ggplot2")
ggplot(mtcars, aes(x = wt, y = mpg, colour = factor(gear))) +
geom_point(size = 3) +
scale_colour_economist()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.