Difference between revisions of "Zoom 3d.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:function.m}} Zooms a 3D data cube to the fractional limits specified by the user. ==Syntax== [density,ext]=zoom_3d(density,ext,zoom_ranges) ==Arguments=...")
 
(Normalise sequential blank lines)
Line 28: Line 28:
 
==See also==
 
==See also==
 
[[volplot.m]], [[plot_3d.m]]
 
[[volplot.m]], [[plot_3d.m]]
 
  
 
''Version 2.1, authors: [[Ilya Kuprov]]''
 
''Version 2.1, authors: [[Ilya Kuprov]]''

Revision as of 12:31, 25 April 2026

Zooms a 3D data cube to the fractional limits specified by the user.

Syntax

    [density,ext]=zoom_3d(density,ext,zoom_ranges)

Arguments

     density  - probability density cube with dimensions
                ordered as [X Y Z]

     ext      - grid extents in Angstrom, ordered as
                [xmin xmax ymin ymax zmin zmax]

  zoom_ranges - zoom ranges along each axis as fractions,
                ordered as [xmin xmax ymin ymax zmin zmax],
                e.g. [0.3 0.6 0.1 0.2 0.5 0.8]

Outputs

     density  - probability density cube with dimensions
                ordered as [X Y Z]

     ext      - grid extents in Angstrom, ordered as
                [xmin xmax ymin ymax zmin zmax]

See also

volplot.m, plot_3d.m

Version 2.1, authors: Ilya Kuprov