View source: R/palette_hilda.R
hilda_pal | R Documentation |
Hilda palette
hilda_pal(
palette = "Day",
n,
type = c("discrete", "continuous"),
reverse = FALSE
)
scale_color_hilda(palette = "Day", n, type = "discrete", reverse = FALSE, ...)
scale_colour_hilda(palette = "Day", n, type = "discrete", reverse = FALSE, ...)
scale_fill_hilda(palette = "Day", n, type = "discrete", reverse = FALSE, ...)
Color set from Matt Shanks & '@ChevyRay'
library(scales)
show_col(hilda_pal(palette = "Dusk")(5))
library(ggplot2)
ggplot(airquality, aes(x = Day, y = Temp,
group = as.factor(Month), color = as.factor(Month))) +
geom_point(size = 2.5) +
scale_color_hilda(palette = "Day")
ggplot(airquality, aes(x = Day, y = Temp,
group = as.factor(Month), color = as.factor(Month))) +
geom_point(size = 2.5) +
scale_color_hilda(palette = "Night")
ggplot(airquality, aes(x = Day, y = Temp,
group = as.factor(Month), color = as.factor(Month))) +
geom_point(size = 2.5) +
scale_colour_hilda(palette = "Day")
ggplot(mpg, aes(displ)) +
geom_histogram(aes(fill = class), col = "black", size = 0.1) +
scale_fill_hilda(palette = "Night")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.