Ex.col | R Documentation |
Examples of colors (current colors or all named colors)
Ex.col(all=FALSE) Ex.cols(all=FALSE)
all |
Show all named colors? |
If 'all=FALSE' (default), plots current colors along with their names and numeric codes; "white" is added as the first color (with numeric code 0). This plot does not usually look nice if the current palette contains more than 40–45 colors.
If 'all=TRUE', plots all named colors plus (for completedness) "transparent", which also can be used as color specification in R. Large device is required to see all (almost 500) named colors.
For the palettes, run 'example(rainbow)' and other palette-related commands.
Alexey Shipunov
palette
, rainbow
, colors
Ex.cols() Ex.cols(all=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.