View source: R/scale_color_okabeito.R
palette_okabeito | R Documentation |
The palette based proposed by Okabe and Ito (2008).
palette_okabeito(palette = "full_amber", reverse = FALSE, order = 1:9, ...)
palette_oi(palette = "full_amber", reverse = FALSE, order = 1:9, ...)
palette |
Character name of palette. Depending on the color scale, can
be |
reverse |
Boolean indicating whether the palette should be reversed. |
order |
A vector of numbers from 1 to 9 indicating the order of colors to use
(default: |
... |
Additional arguments to pass to |
This function is usually not called directly, but from within
scale_color_material()
.
Okabe, M., & Ito, K. (2008). Color universal design (CUD): How to make figures and presentations that are friendly to colorblind people. https://jfly.uni-koeln.de/color/#pallet (Original work published 2002)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.