View source: R/scale_color_bluebrown.R
scale_color_bluebrown | R Documentation |
A blue-brown color palette. Use scale_color_bluebrown_d()
for
discrete categories and scale_color_bluebrown_c()
for
a continuous scale.
scale_color_bluebrown(
palette = "contrast",
discrete = TRUE,
reverse = FALSE,
aesthetics = "color",
...
)
scale_color_bluebrown_d(
palette = "contrast",
discrete = TRUE,
reverse = FALSE,
aesthetics = "color",
...
)
scale_color_bluebrown_c(
palette = "contrast",
discrete = FALSE,
reverse = FALSE,
aesthetics = "color",
...
)
scale_colour_bluebrown(
palette = "contrast",
discrete = TRUE,
reverse = FALSE,
aesthetics = "color",
...
)
scale_colour_bluebrown_c(
palette = "contrast",
discrete = FALSE,
reverse = FALSE,
aesthetics = "color",
...
)
scale_colour_bluebrown_d(
palette = "contrast",
discrete = TRUE,
reverse = FALSE,
aesthetics = "color",
...
)
scale_fill_bluebrown(
palette = "contrast",
discrete = TRUE,
reverse = FALSE,
aesthetics = "fill",
...
)
scale_fill_bluebrown_d(
palette = "contrast",
discrete = TRUE,
reverse = FALSE,
aesthetics = "fill",
...
)
scale_fill_bluebrown_c(
palette = "contrast",
discrete = FALSE,
reverse = FALSE,
aesthetics = "fill",
...
)
palette |
Character name of palette. Depending on the color scale, can
be |
discrete |
Boolean indicating whether color aesthetic is discrete or not. |
reverse |
Boolean indicating whether the palette should be reversed. |
aesthetics |
A vector of names of the aesthetics that this scale
should be applied to (e.g., |
... |
Additional arguments to pass to |
library(ggplot2)
library(see)
ggplot(iris, aes(x = Species, y = Sepal.Length, fill = Species)) +
geom_boxplot() +
theme_modern() +
scale_fill_bluebrown_d()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.