scale_color_besthr: Discrete color scale for besthr

View source: R/themes.R

scale_color_besthrR Documentation

Discrete color scale for besthr

Description

A discrete color scale using besthr palettes.

Usage

scale_color_besthr(palette = "default", ...)

scale_colour_besthr(palette = "default", ...)

Arguments

palette

Character string specifying the palette (see besthr_palette)

...

Additional arguments passed to discrete_scale

Value

A ggplot2 discrete color scale

Examples

library(ggplot2)
ggplot(mtcars, aes(mpg, wt, color = factor(cyl))) +
  geom_point() +
  scale_color_besthr("okabe_ito")


besthr documentation built on March 18, 2026, 5:08 p.m.