scale_fill_aelab_d: scale_fill_aelab_d

View source: R/visualization.R

scale_fill_aelab_dR Documentation

scale_fill_aelab_d

Description

Discrete ggplot2 fill scale using an aelab palette.

Usage

scale_fill_aelab_d(name, direction = 1)

Arguments

name

Palette name passed to aelab_palettes.

direction

1 (default) for normal order; -1 to reverse.

Value

A ggplot2 scale.

Examples

## Not run: 
ggplot2::ggplot(mtcars, ggplot2::aes(factor(cyl), fill = factor(cyl))) +
  ggplot2::geom_bar() + scale_fill_aelab_d("control")

## End(Not run)

aelab documentation built on Feb. 23, 2026, 5:07 p.m.