showPals {plotwidgets}R 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"))

[Package plotwidgets version 0.5.1 Index]