washi_pal_view {washi} | R Documentation |
View a WaSHI palette
Description
Show the colors within a palette in a plot.
Usage
washi_pal_view(palette = "color_blind", n, reverse = FALSE)
Arguments
palette |
Character name of palette in washi_pal. See
|
n |
Number of colors in palette. |
reverse |
Boolean indicating whether the palette should be reversed. Default is FALSE. |
Value
A plot with each color displayed.
See Also
Other color palette functions:
washi_pal_setup()
,
washi_pal
Examples
washi_pal_view("standard")
washi_pal_view("color_blind")
washi_pal_view("blue_gradient", 4, reverse = TRUE)
[Package washi version 0.2.0 Index]