| scale_colour_stata | R Documentation |
See stata_pal() for details.
scale_colour_stata(scheme = NULL, ...)
scale_fill_stata(scheme = NULL, ...)
scale_color_stata(scheme = NULL, ...)
scheme |
|
... |
Arguments passed on to
|
A ggplot2 scale object.
Other colour stata:
stata_pal()
library("ggplot2")
ggplot(mtcars, aes(x = wt, y = mpg, colour = factor(gear))) +
geom_point(size = 3) +
scale_colour_stata(scheme = "s2color")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.