scale_fill_bit12_spectrum: Distiller Fill Scale Across All Bit12 Colors

View source: R/bit12.R

scale_fill_bit12_spectrumR Documentation

Distiller Fill Scale Across All Bit12 Colors

Description

Creates a sequential fill gradient using all colors from the Bit12 palette

Usage

scale_fill_bit12_spectrum(direction = 1, ...)

Arguments

direction

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

...

Additional arguments passed to scale_fill_gradientn()

Value

A sequential ggplot2 fill scale

Examples

library(ggplot2)
ggplot(faithfuld, aes(waiting, eruptions, fill = density)) +
  geom_tile() +
  scale_fill_bit12_spectrum()

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