## S3 method for class 'colorSpec':
plot( x, color=NULL, subset=NULL, main=TRUE, legend=TRUE, CCT=FALSE, add=FALSE, ... )
Arguments
x
a colorSpec object
color
If color=NULL then colors are computed from the spectra themselves.
If the type of x is 'material' the color is computed using
illuminant D65.1nm and responder BT.709.RGB with
subset
specifies a subset of x to plot; see subset for acceptable arguments.
main
If main=TRUE then a main title is generated from the file 'path' in
the metadata list, or from deparse(substitute(x)).
If main=FALSE then no main title is displayed.
And if main
legend
If legend=TRUE then a pretty legend using specnames
is placed in the 'topright' corner of the plot.
If legend is a string it is interpreted as naming a corner of
CCT
If CCT=TRUE and the type of x is 'light' then
the CCT of each spectrum is added to the legend; see computeCCT.
add
If add=TRUE then lines are added to an existing plot,
and these arguments are ignored:
main, ylab, xlim, ylim,
and log; see Details.