Learn R Programming

cptcity (version 1.1.1)

show_cpt: Show me some colors!

Description

show_cpt returns a color matrix which prints and show the colors

Usage

show_cpt(x, label = TRUE)

Value

names color matrix

Arguments

x

character; names of the cpt gradients.

label

Logical, to show labels or not.

Examples

Run this code
{
library(cptcity)
show_cpt(find_cpt("radar"))
}

Run the code above in your browser using DataLab