scale_colour_paris2024_c {Paris2024Colours} | R Documentation |
Paris 2024 palettes for plotting with ggplot2
Description
Function for using Paris2024Colours
colours schemes in ggplot2
.
Use scale_colour_paris2024_d
and
scale_fill_paris2024_d
for discrete scales, and use
scale_colour_paris2024_c
and
scale_fill_paris2024_c
for continuous scales.
Usage
scale_colour_paris2024_c(name, reverse = FALSE, ...)
scale_color_paris2024_c(name, reverse = FALSE, ...)
Arguments
name |
Name of the colour palette. Options are |
reverse |
Whether to reverse colour palette (TRUE) or not (FALSE, default). |
... |
Other arguments passed on to
|
Value
A function that returns a continuous colour scale.
Examples
library(ggplot2)
ggplot2::ggplot(
data = iris, aes(x = Sepal.Width, y = Sepal.Length, colour = Sepal.Length)
) +
geom_point() +
scale_colour_paris2024_c("GamesLook")
[Package Paris2024Colours version 0.2.0 Index]