fx.spectra: Plot spectra tiff

fx.spectraR Documentation

Plot spectra tiff

Description

Export a tiff plot for fixed idea, a presentation or an article.

Usage

fx.spectra(
  sel_sp = sp$mt$meta[sp$acq, "end"],
  pkm = 59,
  pkM = 205,
  L = sp,
  new_title = "fx_spectra",
  new_color = FALSE,
  leg = "r"
)

Arguments

sel_sp

a numeric vector with the selection of spectra.

pkm

the lower mass

pkM

the upper mass

L

sp

new_title

an explicite title

new_color

Logical TRUE/FALSE

leg

legend on the rigth "r" or on the left "l"

Value

a tiff plot

Examples

# For a large spectre :
# fx.spectra(sel_sp = sp$mt$meta[sp$acq,"end"], pkm = 137, pkM = 137, leg = "l")
#
# for just one peak :
# fx.spectra(seq(1,100, by = 10), pkm = 59, pkM = 150)

JHuguenin/provoc documentation built on Jan. 29, 2024, 12:39 a.m.