| scale_colour_hc | R Documentation |
Colour and fill scales which use the palettes in
hc_pal() and are meant for use with
theme_hc().
scale_colour_hc(palette = "default", ...)
scale_color_hc(palette = "default", ...)
scale_fill_hc(palette = "default", ...)
palette |
|
... |
Arguments passed on to
|
A ggplot2 scale object.
Other colour hc:
hc_pal()
library("ggplot2")
ggplot(mtcars, aes(x = wt, y = mpg, colour = factor(gear))) +
geom_point(size = 3) +
scale_colour_hc(palette = "darkunica")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.