scale_fill_dune_c: Dune palettes for plotting with 'ggplot2'

View source: R/scale_fill_dune_c.R

scale_fill_dune_cR Documentation

Dune palettes for plotting with 'ggplot2'

Description

Dune palettes for plotting with 'ggplot2'

Usage

scale_fill_dune_c(name, ...)

Arguments

name

Name of palette. Run names(dune_palettes) to view options

...

Other arguments passed on to scale_fill_gradientn

Value

An object defining a continuous fill scale for use with 'ggplot2'.

Examples

library(ggplot2)
ggplot(data = mtcars, aes(x = mpg, y = disp, fill = wt)) +
  geom_point() +
  scale_fill_dune_c("fermen2")

Rdune documentation built on Sept. 11, 2024, 6:46 p.m.