shows two spectra - a resolved and an original for selected pure component in the same plot
| 1 2 3 | 
| obj | object with unmixing results | 
| purespec | matrix with pure spectra for the components (spectra in rows) | 
| ncomp | for which component show the comparison for | 
| col | color for the spectra (two values - one for each spectrum) | 
| lwd | line width for the spectra (two values) | 
| lty | line type for the spectra (two values) | 
| xlab | label for x axis | 
| ylab | label for y axis | 
| main | main title for the plot | 
| show.stat | logical, show or not relative residual variance between the spectra | 
| ... | other plot parameters | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.