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"))
}

cptcity documentation built on April 4, 2025, 2:09 a.m.

Related to show_cpt in cptcity...