plot() methods when multiple.wl > 1

Create issue
Issue #5 resolved
Pedro J. Aphalo repo owner created an issue

Assumption that index variable is called spct.idx should be removed. Best option is to use an attribute to keep track of the name.

Comments (1)

  1. Pedro J. Aphalo reporter

    Attribute implemented in 'photobiology' and plot() methods updated here to use it when available, falling back to using 'spct.idx' as default if attribute is not set. Add argument to allow users to override the default in all cases. Keep the logic behind this in a private function. Currently the multiple spectra are mapped to linetype, but allow users to use normal 'ggplot2' functions to override this.

  2. Log in to comment