colourSwatch {roloc} | R Documentation |
Colour Conversion Diagram
Description
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.
Usage
colourSwatch(x, ..., newpage = TRUE)
## S3 method for class 'colourMatch'
colourSwatch(x, ..., newpage = TRUE)
## Default S3 method:
colourSwatch(x,
colourList=getOption("roloc.colourList"),
colourMetric=getOption("roloc.colourMetric"),
..., newpage = TRUE)
colourSwatches(x, ..., newpage = TRUE)
## S3 method for class 'colourMatch'
colourSwatches(x, ..., newpage = TRUE)
## Default S3 method:
colourSwatches(x,
colourList=getOption("roloc.colourList"),
colourMetric=getOption("roloc.colourMetric"),
..., newpage = TRUE)
Arguments
x |
A |
colourList |
A list of colours |
colourMetric |
A colour metric function. See |
... |
Arguments passed to the colour metric function. |
newpage |
Whether to start a new page on the current graphics device. |
Value
These functions are used for their side-effect (a colour match diagram).
Author(s)
Paul Murrell
Examples
colourSwatch("red")
[Package roloc version 0.1-2 Index]