scale_color_flexoki_dark_distiller: Distiller Color Scale Using Flexoki Dark Colors

View source: R/flexoki.R

scale_color_flexoki_dark_distillerR Documentation

Distiller Color Scale Using Flexoki Dark Colors

Description

Creates a sequential color gradient based on the Flexoki dark color palette

Usage

scale_color_flexoki_dark_distiller(palette = "blue", direction = 1, ...)

Arguments

palette

Name of the color palette to use ("red", "orange", "yellow", "green", "cyan", "blue", "purple", "magenta")

direction

Sets the direction of the color scale (1 = default, -1 = reversed)

...

Additional arguments passed to scale_color_gradientn()

Value

A sequential ggplot2 color scale

Examples

library(ggplot2)
ggplot(faithfuld, aes(waiting, eruptions, color = density)) +
  geom_point() +
  scale_color_flexoki_dark_distiller(palette = "blue")

hrbrmstr/hrbrthemes documentation built on June 13, 2025, 8:38 a.m.