Description Usage Arguments Examples
Calls UCS brand colors for graphs, maps, and figures. UCS_palette has 11 colors - [1]yellow, [2]golden, [3]orange, [4]magenta, [5]indigo, [6]medium_blue, [7]cyan, [8]yellow_green, [9]green, [10]black, and [11]white. Colors can be called individually or as a set. Alternatively, the object UCS_colors can be used to access hex codes.
1 | UCS_palette(x)
|
x |
1 2 3 4 5 6 7 8 | Pie charts can be a misleading way to display data,
but a great way to demonstrate how to call UCS brand colors.
#To use the entire palette
pie(c(1:11), col=UCS_palette(), labels="")
#To isolate individual colors
pie(c(1,2),col=c(UCS_palette(2), UCS_palette(4)), labels="")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.