showPals: Demonstrate selected palettes

View source: R/palettes.R

showPalsR Documentation

Demonstrate selected palettes

Description

Show a plot demonstrating all colors in the provided palettes

Usage

showPals(pal = NULL, numbers = T)

Arguments

pal

Either a character vector of colors or a list of character vectors

numbers

On each of the colors, show a number

Examples

## Show all palettes in plotwidget
showPals(plotPals())

## Show just a few colors
showPals(c("red", "green", "blue"))

plotwidgets documentation built on May 10, 2022, 5:12 p.m.