stack_2d.m

From Spinach Documentation Wiki
Jump to: navigation, search

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.

Bunny wise.png

See also

apodisation.m, axis_1d.m, bwr_cmap.m, contspacing.m, crop_2d.m, cylgrid.m, fid2ascii.m, ft_axis.m, heterodyne.m, int_2d.m, molplot.m, mri_2d_plot.m, plot_1d.m, plot_2d.m, plot_3d.m, plot_uf.m, s2json.m, scale_figure.m, slice_2d.m, sweep2ticks.m, volplot.m, write_movie.m, xyz2pd.m, zoom_3d.m, Kernel_utilities, Import,_export,_and_visualisation

Version 2.8, authors: Ilya Kuprov