opaque: makes colors transparent (or opaque)

Description Usage Arguments Examples

View source: R/opaque.R

Description

makes colors transparent (or opaque)

Usage

1
opaque(color = SushiColors(7)(7), transparency = 0.5)

Arguments

color

color or colors to make opaque

transparency

value between 0 and 1 indicating desired opaqueness

Examples

1
2
plot((1:10),col="red",pch=19)
points((10:1),col=opaque("red",transparency=0.3),pch=19)

Sushi documentation built on Nov. 8, 2020, 7:48 p.m.