scale_fill_vangogh: #' Setup fill palette for ggplot2

View source: R/scale.R

scale_fill_vangoghR Documentation

#' Setup fill palette for ggplot2

Description

#' Setup fill palette for ggplot2

Usage

scale_fill_vangogh(
  ...,
  palette = "StarryNight",
  discrete = TRUE,
  alpha = 1,
  reverse = TRUE
)

Arguments

...

additional arguments to pass to scale_color_gradientn

palette

Choose from 'vangogh_palettes' list

discrete

whether to use a discrete colour palette

alpha

The alpha transparency, a number in [0,1], see argument alpha in hsv.

reverse

If TRUE, the direction of the colours is reversed.

Value

A scale_fill_vangogh function


vangogh documentation built on May 27, 2022, 9:12 a.m.