scale_fill_academic_d {AcademicThemes} | R Documentation |
Scale Plot Fills With Academic Themes (Discrete)
Description
Scale Plot Fills With Academic Themes (Discrete)
Usage
scale_fill_academic_d(palette_name, ...)
Arguments
palette_name |
The name of a colour palette in |
... |
Arguments passed to |
Value
A layer that can be added to a ggplot2 object.
Examples
library(ggplot2)
ggplot(
data.frame(
x = LETTERS[1:5],
y = 5:1
),
aes(x = x, y = y, fill = x)
) +
geom_col() +
scale_fill_academic_d("cruk") +
theme_classic() +
labs(
x = "X-Axis",
y = "Y-Axis",
fill = "Fill"
)
[Package AcademicThemes version 0.0.2 Index]