Difference between revisions of "Molplot.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(→‎Arguments)
(removed link to deleted function page bloch_sph_plot.m (removed per IK instruction 2026-08-30))
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
     molplot(xyz,conmatrix)
 
     molplot(xyz,conmatrix)
  
−
==Arguments==
+
==Parameters==
  
 
     xyz      - Cartesian coordinates, as Nx3 matrix, in
 
     xyz      - Cartesian coordinates, as Nx3 matrix, in
Line 26: Line 26:
  
 
==See also==
 
==See also==
−
[[plot_1d.m]], [[plot_2d.m]], [[plot_3d.m]], [[volplot.m]], [[mri_2d_plot.m]], [[hfc_display.m]], [[cst_display.m]]
+
[[plot_1d.m]], [[plot_2d.m]], [[plot_3d.m]], [[volplot.m]], [[mri_2d_plot.m]], [[hfc_display.m]], [[cst_display.m]], [[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]], [[plot_uf.m]], [[s2json.m]], [[scale_figure.m]], [[slice_2d.m]], [[stack_2d.m]], [[sweep2ticks.m]], [[write_movie.m]], [[xyz2pd.m]], [[zoom_3d.m]], [[Import,_export,_and_visualisation]], [[Kernel_utilities]]
−
 
 
  
 
''Version 2.3, authors: [[Ilya Kuprov]]''
 
''Version 2.3, authors: [[Ilya Kuprov]]''

Latest revision as of 10:10, 30 August 2026

Plots a stick representation of a molecule from Cartesian coordinates supplied.

Syntax

    molplot(xyz,conmatrix)

Parameters

    xyz       - Cartesian coordinates, as Nx3 matrix, in
                Angstroms

    conmatrix - NxN connectivity matrix indicating chemical
                bonds that should be drawn as sticks. If an
                empty vector is supplied, 1.6 Angstrom cut-
                off distance is used

Outputs

    this function creates a figure

Examples

The figure below is produced by examples/nmr_paramag/s50c_density.m example file. The protein structure is drawn using molplot.m function.

Molplot example.png

See also

plot_1d.m, plot_2d.m, plot_3d.m, volplot.m, mri_2d_plot.m, hfc_display.m, cst_display.m, 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, plot_uf.m, s2json.m, scale_figure.m, slice_2d.m, stack_2d.m, sweep2ticks.m, write_movie.m, xyz2pd.m, zoom_3d.m, Import,_export,_and_visualisation, Kernel_utilities

Version 2.3, authors: Ilya Kuprov