show_cpt: Show me some colors!

View source: R/show_cpt.R

show_cptR Documentation

Show me some colors!

Description

show_cpt returns a color matrix which prints and show the colors

Usage

show_cpt(x, label = TRUE)

Arguments

x

character; names of the cpt gradients.

label

Logical, to show labels or not.

Value

names color matrix

Examples

{
library(cptcity)
show_cpt(find_cpt("radar"))
}

ibarraespinosa/cptcity documentation built on Aug. 23, 2023, 4:41 a.m.