Difference between revisions of "Volplot.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(→‎See also)
(Normalise sequential blank lines)
Line 26: Line 26:
 
==See also==
 
==See also==
 
[[plot_1d.m]], [[plot_2d.m]], [[plot_3d.m]], [[molplot.m]], [[mri_2d_plot.m]], [[hfc_display.m]], [[cst_display.m]]
 
[[plot_1d.m]], [[plot_2d.m]], [[plot_3d.m]], [[molplot.m]], [[mri_2d_plot.m]], [[hfc_display.m]], [[cst_display.m]]
−
 
  
 
''Version 2.3, authors: [[Ilya Kuprov]]''
 
''Version 2.3, authors: [[Ilya Kuprov]]''

Revision as of 12:31, 25 April 2026

Volumetric 3D plot function for scalar fields. Sign is mapped into colour and amplitude into opacity. Separate scaling for positive and negative values -- displaying the colour bar is recommended.

Syntax

    volplot(data_cube,axis_ranges,clip_ranges)

Arguments

   data_cube   - data cube with dimensions ordered
                 as [X Y Z]

   axis_ranges - six-element vector giving axis extents
                 as [xmin xmax ymin ymax zmin zmax]

   clip_ranges - (optional) the values, as a fraction 
                  of the maximum in positive and nega-
                  tive directions, at which the values
                  should be clipped (this is useful for
                  steep functions).

Outputs

    this function produces a figure

See also

plot_1d.m, plot_2d.m, plot_3d.m, molplot.m, mri_2d_plot.m, hfc_display.m, cst_display.m

Version 2.3, authors: Ilya Kuprov