Description Usage Arguments See Also
Returns a palette function that turns v
(value) and u
(uncertainty) (both between 0 and 1) into
colors.
1 2 | pal_vsup(values, unc_levels = 4, max_light = 0.9, max_desat = 0,
pow_light = 0.8, pow_desat = 1)
|
values |
Color values to be used at minimum uncertainty. Needs to be a vector of
length |
unc_levels |
Number of discrete uncertainty levels. The number of discrete colors at each level doubles. |
max_light |
Maximum amount of lightening |
max_desat |
Maximum amount of desaturation |
pow_light |
Power exponent of lightening |
pow_desat |
Power exponent of desaturation |
pal_vsup_carto()
, pal_vsup_viridis()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.