print_palette: Print a palette

View source: R/palettes.R

print_paletteR Documentation

Print a palette

Description

Prints the chosen technocolour palette of length n.

Usage

print_palette(palette, n, ...)

Arguments

palette

The name of the chosen palette. Choices are from: "bodied", "esther", "hotbot", "ibrik", "poodle", "rush", "x".

n

The integer length of the desired palette. Default value is the length of the specified palette.

Value

A plot showing the colours of the chosen technocolour colour palette.

Examples

print_palette(palette = "esther")
print_palette(palette = "esther", n = 5)
print_palette(palette = "esther", n = 5, interpolate = FALSE)


sophiemeakin/technocolour documentation built on Nov. 1, 2022, 1:21 a.m.