Learn R Programming

berryFunctions (version 1.21.2)

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, catPal, package RColorBrewer, https://blog.datawrapper.de/which-color-scale-to-use-in-data-vis/

Examples

Run this code
# NOT RUN {
showPal()
# }

Run the code above in your browser using DataLab