Difference between revisions of "Stack 2d.m"
(Created page with "{{DISPLAYTITLE:stack_2d.m}} __NOTOC__ Stack plotting utility for 2D NMR spectra. ==Syntax== stack_2d(spin_system,spectrum,parameters,stack_dim,alpha_fun) ==Arguments==...") |
(→See also) |
||
| Line 37: | Line 37: | ||
==See also== | ==See also== | ||
[[Kernel_utilities#Data_analysis_and_plotting|Data analysis and plotting]] | [[Kernel_utilities#Data_analysis_and_plotting|Data analysis 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 09:51, 28 July 2023
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
