scale_fill_grad_poisson: Gradient fill scale constructor for poisson colours

View source: R/scales.R

scale_fill_grad_poissonR Documentation

Gradient fill scale constructor for poisson colours

Description

Gradient fill scale constructor for poisson colours

Usage

scale_fill_grad_poisson(
  ...,
  palette = getOption("poispalette.gradient", "cool"),
  reverse = FALSE,
  n_steps = 256,
  n_col = getOption("poispalette.n_col", NULL)
)

Arguments

...

Additional arguments passed to scale_color_gradientn()

palette

Character name of palette in pois_palettes, or selection of colour names from pois_cols

reverse

Boolean indicating whether the palette should be reversed

n_steps

Number of steps in gradient

n_col

Number of colours to subset from the palette (optional)


poissonconsulting/poispalette documentation built on June 15, 2025, 11:52 a.m.