plotSpec | R Documentation |
plotSpec
plots all signals defined by a matrix.
plotSpec(
ppmrange,
x,
y,
ynames = c("Origin", "Filtered", "Model"),
ycolors = c("grey", "blue", "red", "green", "orange", "magenta", "cyan", "darkgreen",
"darkorange"),
ysel = NULL,
xlab = "",
ylab = "",
title = ""
)
ppmrange |
a ppm range defining the window of the plotting |
x |
a vector defining the x-axis (abscissa) |
y |
a vector or a matrix defining the y-axes (ordinates), each signal as a column |
ynames |
a vector defining the y names (same order as the y matrix) |
ycolors |
a vector defining the y colors (same order as the y matrix) |
ysel |
a vector defining the visibility of each y element (same order as the y matrix) |
title |
title of the graphic |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.