Learn R Programming

berryFunctions (version 1.17.0)

showPal: show color palettes

Description

Plot examples of the sequential and diverging color palettes in this package. Do not use rainbow: https://eagereyes.org/basics/rainbow-color-map

Usage

showPal(cex = 4, ...)

Arguments

cex

Character EXpansion size (width of color bar). DEFAULT: 4

Arguments passed to par

See Also

seqPal, divPal, package RColorBrewer

Examples

Run this code
# NOT RUN {
showPal()

# }

Run the code above in your browser using DataLab