cm.colors.strong: Strong version of cm.colors color palette

Description Usage Arguments Value Examples

Description

Altered version of cm.colors that uses full saturation to get stronger colors.

Usage

1
cm.colors.strong(n, alpha = 1)

Arguments

n

Number of color groups

alpha

Alpha level

Value

Character vector of colors

Examples

1
2
3
4
5
6
7
8
# Character string output
cm.colors.strong(5)

# Plot to show these
sl <- 21
sx <- seq(0,1,l=sl)
plot(sx,sin(2*pi*sx), cex=5, col=cm.colors.strong(sl), pch=19);points(sx,sin(2*pi*sx), cex=5)
plot(sx,sin(2*pi*sx), cex=5, col=cm.colors(sl),        pch=19);points(sx,sin(2*pi*sx), cex=5)

CollinErickson/ContourFunctions documentation built on Aug. 12, 2019, 2:09 a.m.