powered by
Show the colors within a palette in a plot.
washi_pal_view(palette = "color_blind", n, reverse = FALSE)
A plot with each color displayed.
Character name of palette in washi_pal. See names(washi_pal) for a list of available palettes.
names(washi_pal)
Number of colors in palette.
Boolean indicating whether the palette should be reversed. Default is FALSE.
Other color palette functions: washi_pal_setup(), washi_pal
washi_pal_setup()
washi_pal
washi_pal_view("standard") washi_pal_view("color_blind") washi_pal_view("blue_gradient", 4, reverse = TRUE)
Run the code above in your browser using DataLab