pal: Plot a palette of colors

Description Usage Arguments Examples

View source: R/colors.R

Description

Plot colors, col, as a single row of swatches.

Usage

1
pal(col, border = "light gray", ...)

Arguments

col

character vector of hex color codes

border

color for border around swatches

...

additional arguments passed to plot()

Examples

1
pal(c("#8FA5DB", "#AB9F83", "#95B9E5"))

cwickham/routes documentation built on Nov. 4, 2019, 9:34 a.m.