show_cpt | R Documentation |
show_cpt
returns a color matrix which prints
and show the colors
show_cpt(x, label = TRUE)
x |
character; names of the cpt gradients. |
label |
Logical, to show labels or not. |
names color matrix
{
library(cptcity)
show_cpt(find_cpt("radar"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.