plot_sparse_1d: Plot spectrum from 1D fit

View source: R/resonance.R

plot_sparse_1dR Documentation

Plot spectrum from 1D fit

Description

Plot spectrum from 1D fit

Usage

plot_sparse_1d(
  fit_data,
  tables = NULL,
  spec_idx = 1,
  col_model = 2,
  col_resonance = NULL,
  lwd = 1,
  tick_spacing = 0.02,
  coupling_spacing = 0.01,
  coupling_marks = 0.009,
  xaxs = "i",
  yaxt = "n",
  bty = "n",
  always_show_start = FALSE,
  add = FALSE,
  ppm_map = make_map(get_spec_int(fit_data, "input", spec_idx)[[1]])
)

Arguments

fit_data

fit_input or fit_output structure

tables

list with resonances, nuclei, and couplings tables

spec_idx

index of spectrum to plot

col_model

color for modeled peak shapes

col_resonances

colors for resonances


Smith-Group/fitnmr documentation built on April 29, 2024, 9:30 p.m.