pth_plot_palette: Plot a palette

View source: R/plot-new.R

pth_plot_paletteR Documentation

Plot a palette

Description

Plot a palette

Usage

pth_plot_palette(palette, ...)

## Default S3 method:
pth_plot_palette(palette, ...)

## S3 method for class 'pth_palette_path'
pth_plot_palette(
  palette,
  n_point = 11,
  step = 0.5,
  args_control = waiver(),
  args_palette = waiver(),
  ...
)

Arguments

palette

function with S3 class pth_palette.

...

other args (not used)

n_point

numeric number of points to show.

step

numeric size of step in luminance and chroma.

args_control

list of additional arguments sent to pth_layer_control_points(), set to NULL to suppress layer.

args_palette

list of additional arguments sent to pth_layer_palette(), set to NULL to suppress layer.

Value

tibble with columns luminance, chroma, hue, hex


ijlyttle/colorpath documentation built on Sept. 13, 2022, 7:44 p.m.