plot_scheme shows colours in a plot.

plot_scheme(x, colours = FALSE, names = FALSE, size = 1)

plot_map(x)

## Arguments

x A character vector of colours. A logical scalar: should the hexadecimal representation of the colours be displayed? A logical scalar: should the name of the colours be displayed? A numeric value giving the amount by which plotting text should be magnified relative to the default. Works the same as cex parameter of par.

## Details

plot_map produces a diagnostic map for a given colour scheme.

Other diagnostic tools: convert
## Plot colour schemes
plot_map(colour("bright")(7))plot_map(colour("sunset")(11))plot_map(colour("YlOrBr")(9))plot_map(colour("discrete rainbow")(14))