Learn R Programming

berryFunctions (version 1.22.5)

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

Author

Berry Boessenkool, berry-b@gmx.de, Apr 2016

See Also

seqPal, divPal, catPal, package RColorBrewer, https://blog.datawrapper.de/which-color-scale-to-use-in-data-vis/

Examples

Run this code
showPal()

Run the code above in your browser using DataLab