Ex.col {shipunov}R Documentation

Examples of colors

Description

Examples of colors (current colors or all named colors)

Usage

Ex.col(all=FALSE)
Ex.cols(all=FALSE)

Arguments

all

Show all named colors?

Details

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.

Author(s)

Alexey Shipunov

See Also

palette, rainbow, colors

Examples

Ex.cols()
Ex.cols(all=TRUE)

[Package shipunov version 1.17.1 Index]