showPalettes {lessR} | R Documentation |
Display Color Palettes
Description
For each specified set of palettes display each in the set.
Usage
showPalettes(palette="hcl", n=12, border="transparent", file=NULL)
Arguments
palette |
Name of the palette. |
n |
Number of colors per palette with a default of 12. |
border |
Border between intervals. By default is off. |
file |
Name of pdf file that contains the list of colors with a default of the name of the palette. Default is name of palette with a |
Details
Available palettes are "hcl"
for sequential palettes for each of 12 hues across the hcl color wheel in 30 degree intervals plus the qualitative scale of different hues and grayscale, "viridis"
, and "wesanderson"
.
Author(s)
David W. Gerbing (Portland State University; gerbing@pdx.edu)
Examples
# all hcl palettes based on each hue from 30 degrees of the color wheel,
# including "colors" and "grays"
# default is 12 colors per palette
#showPalettes()
# viridis palate, simulate continuity
#showPalettes("viridis", n=500, border="off")
[Package lessR version 4.3.6 Index]