Finding Nemo Inspired Color Scales
Usage
scale_color_nemo_c(...)
scale_fill_nemo_c(...)
scale_color_nemo_b(...)
scale_fill_nemo_b(...)
scale_color_nemo_d(...)
scale_fill_nemo_d(...)
scale_colour_nemo_d(...)
scale_colour_nemo_c(...)
scale_colour_nemo_b(...)
Arguments
- ...
Additional arguments to pass to
ggplot2::binned_scale
for_b
,ggplot2::scale_[fill/color]_gradient
for_c
, orggplot2::discrete_scale
for_d
Examples
library(ggplot2)
ggplot(mpg, aes(cty)) +
geom_density(aes(fill=factor(cyl)), alpha=0.8) +
labs(title="Density plot",
subtitle="City Mileage Grouped by Number of cylinders",
caption="Source: mpg",
x="City Mileage",
fill="# Cylinders") +
facet_wrap(~(hwy > 29)) +
theme_nemo(nemo_font = TRUE) +
scale_fill_nemo_d()