Difference between revisions of "Stack 2d.m"
(→See also) |
(Normalise sequential blank lines) |
||
| Line 39: | Line 39: | ||
[[Import,_export,_and_visualisation#Data_export_and_plotting|Data export and plotting]] | [[Import,_export,_and_visualisation#Data_export_and_plotting|Data export and plotting]] | ||
| − | |||
''Version 2.8, authors: [[Ilya Kuprov]]'' | ''Version 2.8, authors: [[Ilya Kuprov]]'' | ||
Revision as of 11:31, 25 April 2026
Stack plotting utility for 2D NMR spectra.
Syntax
stack_2d(spin_system,spectrum,parameters,stack_dim,alpha_fun)
Arguments
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
