View source: R/solarized_palette.R
scale_colour_solarized | R Documentation |
Provides a colour scheme based on the solarized accent colours for use with ggplot2.
scale_colour_solarized(...)
scale_color_solarized(...)
scale_fill_solarized(...)
... |
Arguments passed on to discrete_scale to control name, limits, breaks, labels and so forth. |
library(ggplot2)
ggplot(mtcars, aes(x = mpg, y = hp, colour = factor(cyl))) +
geom_point() +
scale_colour_solarized()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.