showPalettes | R Documentation |
Show system palettes.
showPalettes(palette = NULL, cex = 1)
palette |
palette name, or |
cex |
text size for main title. |
List of palettes.
showColors
.
showPalettes()
showPalettes("Tableau")
f <- function() barplot(rep(1, 9), col=col)
opar <- par(mfrow=c(2, 3))
col <- palette.colors(9, "Set 1"); f()
col <- palette.colors(9, "Tableau"); f()
col <- palette.colors(9, "Classic"); f()
col <- palette.colors(9, "Paired"); f()
col <- palette.colors(9, "Alphabet"); f()
col <- palette.colors(9, "Polychrome"); f()
par(opar)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.