pois_pal_grad: Return interpolated color gradient for a continuous poisson...

View source: R/palletes.R

pois_pal_gradR Documentation

Return interpolated color gradient for a continuous poisson colour palette

Description

Return interpolated color gradient for a continuous poisson colour palette

Usage

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

Arguments

palette

Character name of palette in pois_palettes, See pos_pal() for palette options.

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.