transparent | R Documentation |
Return transparent form of a named color.
transparent(col, percent = 50)
col |
vector of colors as name, hexadecimal, or positive integer
(see |
percent |
percent of transparency (0 = solid, 100 = transparent). |
Eric Archer eric.archer@noaa.gov
pct <- seq(0, 100, by = 10)
plot(pct, pct, bg = transparent("red", pct), pch = 21, cex = 4, xlab = "X", ylab = "Y")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.