| LofC | R Documentation | 
When overlaying multiple 2D NMR spectra, one needs to supply a vector of colors for each spectrum contour,
as a list with length equal to the number of spectra to be plotted.
This is a convenience function which takes a vector of colors and copies it into a list, ready for
use  with plotSpectra2D.
LofC(cols, nspec = 1L, ncon = 1L, mode = 1L)
| cols | Character. A vector of color designations. | 
| nspec | Integer. The number of spectra to be plotted. | 
| ncon | Integer. The number of contour levels. | 
| mode | Integer. How to replicate the colors: 
 | 
A list of length nspec, the number of spectra to be plotted; each entry is a vector of colors.
mycols <- c("red", "green", "blue")
LofC(mycols, 1, 3, 1)
LofC(mycols, 3, 3, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.