Plot 1d.m
1D plotting utility. Uses the same parameters structure as 1D pulse sequences. Input syntax:
plot_1d(spin_system,spectrum,parameters)
Input parameters:
parameters.sweep sweep width, Hz
parameters.spins spin species, e.g. {'1H'}
parameters.offset transmitter offset, Hz
parameters.axis_units axis units ('ppm','Gauss',
'mT','T','Hz','kHz','MHz')
parameters.derivative if set to 1, the spectrum is
differentiated before plotting
parameters.invert_axis if set to 1, the frequency axis
is inverted before plotting
Any extra arguments given to this function will be passed to the built-in Matlab function plot().