.ggAddLegend | R Documentation |
Internal function. This function creates a suitable legend and returns it as a set of grobs, ready to be added to an existing plot.
.ggAddLegend(spectra, use.sym, leg.loc)
spectra |
An object of S3 class |
use.sym |
Logical specifying if symbols will be used or not. |
leg.loc |
A list giving x, y coordinates, and a reference point. |
A grob containing the legend.
Bryan A. Hanson (DePauw University), Tejasvi Gupta.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.