stack_2d.m
Stack plotting utility for 2D NMR spectra.
Syntax
stack_2d(spin_system,spectrum,parameters,stack_dim,alpha_fun)
Parameters
spectrum - a real matrix containing the 2D NMR spectrum
parameters.sweep - one or two sweep widths, Hz
parameters.spins - cell array with one ot two character
strings specifying the working spins
parameters.offset - one or two transmitter offsets, Hz
parameters.axis_units - axis units ('ppm','Hz','Gauss')
stack_dim - stacking dimension, 1 or 2
alpha_fun - optional function handle that takes
a spectral slice and returns the al-
pha value that regulates stack line
opacity
Outputs
this function updates the current figure
Examples
Below is the output of examples/nmr_solids/wise_mas_gly.m example file containing the WISE simulation for 13C-labelled glycine powder under magic angle spinning.
See also
Version 2.8, authors: Ilya Kuprov
