Displays a color palette and information about its colors.
showPalette( x = palette(), inline = FALSE, add_number = TRUE, add_codecolor = TRUE, cex_num = 1.2 )
| x | a vector of colors. |
|---|---|
| inline | a logical. If |
| add_number | a logical. If |
| add_codecolor | a logical. If |
| cex_num | the magnification coefficient of the color vector's indices. |
The color palette displayed as an invisible output.
showPalette() showPalette(inline = TRUE)showPalette(1)