.addLegend | R Documentation |
Internal function. Add a legend to a plot created by either ChemoSpec
or ChemoSpec2D
.
ChemoSpec2D
does not use symbols.
.addLegend(spectra, leg.loc, use.sym, ...)
spectra |
An object of S3 class |
leg.loc |
Either a list with elements |
use.sym |
Logical; if true, the color scheme is set to black and the
points plotted with symbols. Applies only to |
... |
Parameters to be passed to the plotting routines. Applies to base graphics only. |
None. Side effect is to modify an existing plot.
Bryan A. Hanson (DePauw University).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.