transparent {swfscMisc} | R Documentation |
Transparent Colors
Description
Return transparent form of a named color.
Usage
transparent(col, percent = 50)
Arguments
col |
vector of colors as name, hexadecimal, or positive integer
(see |
percent |
percent of transparency (0 = solid, 100 = transparent). |
Author(s)
Eric Archer eric.archer@noaa.gov
Examples
pct <- seq(0, 100, by = 10)
plot(pct, pct, bg = transparent("red", pct), pch = 21, cex = 4, xlab = "X", ylab = "Y")
[Package swfscMisc version 1.6.5 Index]