Convert colorSpec object to readable text
display a colorSpec object as readable text.
Output goes to stdout()
.
## S3 method for class 'colorSpec' print( x, ...) ## S3 method for class 'colorSpec' summary( object, long=TRUE, ... )
x |
a colorSpec object |
object |
a colorSpec object |
long |
logical indicating whether to print |
... |
further arguments ignored |
If long=FALSE
,
summary()
prints a summary of the wavelength vector, and names of all spectra.
For each spectrum it prints the range of values, LambdaMax
, and
extradata
if any.
If long=TRUE
it also prints data listed above (if any).
The function print()
simply calls summary()
with long=FALSE
.
Both functions return (invisibly) the character vector that was just printed
to stdout()
.
print( xyz1931.1nm ) xyz1931.1nm # same thing, just calls print()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.