plot_examples: Plot examples of fitted frames

Description Usage Arguments Value Examples

View source: R/PLOT-fits-legacy.R

Description

This function plots the deconvolution for specified frames from the fit.

Usage

1
2
3
4
5
plot_examples(fit, data, scans, plot_offset, yrange = "auto",
  xrange = NA, cols = c("forestgreen", "blue", "magenta", "cyan",
  "orange", "brown"), fit_col = "red", data_col = "black",
  fit_lwd = 2, lwd = 1, data_lwd = 1, lty = "dashed",
  xTickInterval = 50, show_axes = TRUE)

Arguments

fit

The fit object

data

The data object

scans

Which scans to include in the plot

plot_offset

offset between subsequent plots

yrange

Y range of data to plot (or 'auto')

xrange

X range of data to plot (default is integration range)

cols

Colour for each deconvolution

fit_col

Colour for the fit

data_col

Colour for the data

fit_lwd

Line width for the fit

lwd

Line width for each deconvolution

data_lwd

Line width for the data

lty

Line type for each deconvolution

xTickInterval

Tick interval for x axis

show_axes

(TRUE / FALSE) Should plot axes & labels

Value

None

Examples

1
plot_examples(fit, data, scans=seq(1:20, 5), plot_offset=100000)

jmstrat/NMR.Utils documentation built on July 14, 2019, 11:35 p.m.