Difference between revisions of "Plot 1d.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(See also)
(Normalise sequential blank lines)
Line 36: Line 36:
 
==See also==
 
==See also==
 
[[plot_2d.m]], [[slice_2d.m]], [[int_2d.m]], [[plot_3d.m]], [[mri_2d_plot.m]], [[volplot.m]], [[molplot.m]], [[hfc_display.m]], [[cst_display.m]]
 
[[plot_2d.m]], [[slice_2d.m]], [[int_2d.m]], [[plot_3d.m]], [[mri_2d_plot.m]], [[volplot.m]], [[molplot.m]], [[hfc_display.m]], [[cst_display.m]]
 
  
 
''Version 2.3, authors: [[Ilya Kuprov]], [[Luke Edwards]]''
 
''Version 2.3, authors: [[Ilya Kuprov]], [[Luke Edwards]]''

Revision as of 12:28, 25 April 2026

1D plotting utility.

Syntax

    plot_1d(spin_system,spectrum,parameters,varargin)

Arguments

   spectrum                      a column vector containing the
                                 spectrum

   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

   varargin                      any number of any other para-
                                 meters; these will be passed
                                 to Matlab's plot() function

Outputs

    this function produces a figure

See also

plot_2d.m, slice_2d.m, int_2d.m, plot_3d.m, mri_2d_plot.m, volplot.m, molplot.m, hfc_display.m, cst_display.m

Version 2.3, authors: Ilya Kuprov, Luke Edwards