Draw a diagram of a colour conversion with four columns:
original colour specification, plus swatch, matching colour name, plus
swatch. colourSwatches
can show multiple matches per colour
specification.
colourSwatch(x, ..., newpage = TRUE)
# S3 method for colourMatch
colourSwatch(x, ..., newpage = TRUE)
# S3 method for default
colourSwatch(x,
colourList=getOption("roloc.colourList"),
colourMetric=getOption("roloc.colourMetric"),
..., newpage = TRUE)
colourSwatches(x, ..., newpage = TRUE)
# S3 method for colourMatch
colourSwatches(x, ..., newpage = TRUE)
# S3 method for default
colourSwatches(x,
colourList=getOption("roloc.colourList"),
colourMetric=getOption("roloc.colourMetric"),
..., newpage = TRUE)
These functions are used for their side-effect (a colour match diagram).
A "colourMatch"
object or an R colour specification
A list of colours
A colour metric function. See colourMatch
for details.
Arguments passed to the colour metric function.
Whether to start a new page on the current graphics device.
Paul Murrell