Offers a variety of ways to preview CET Color Maps.
Usage
display_cet_pal(n = 256, name = "rainbow", alpha = 1)
display_cet_attribute(n = 256, attribute = "rainbow", alpha = 1)
display_cet_all(n = 256, alpha = 1)Arguments
- n
A
numericvalue greater than one indicating how many colors to use from the color map.- name
A
stringindicating the color map to use. There are 51 options available. Please seecet_color_maps()for more information. By default, the"rainbow"color scheme is used.- alpha
A
numericvalue between \([0, 1]\) that indicates the level of transparency.- attribute
A
characterstring indicating the attribute. Accepted values are:"rainbow"(Default),"linear","diverging","cyclic""isoluminant", and"colorblind".