plotSpec: plotSpec

View source: R/deconvTools.R

plotSpecR Documentation

plotSpec

Description

plotSpec plots all signals defined by a matrix.

Usage

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 = ""
)

Arguments

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


INRA/Rnmr1D documentation built on April 13, 2025, 10:54 p.m.