swatch {hues} | R Documentation |
Plot colour swatches for a vector of colours
Description
Plot named colour swatches for a vector of colours.
Usage
swatch(x)
Arguments
x |
a vector of colours, specified as: colour names (i.e. colour names
returned by |
Value
NULL
. The colour swatch is plotted to the active plotting device.
See Also
Examples
swatch(colours()[1:10])
swatch(1:4)
swatch(iwanthue(5))
[Package hues version 0.2.0 Index]