zoom_3d.m

From Spinach Documentation Wiki
Revision as of 19:43, 6 June 2026 by Kuprov (talk | contribs) (Update function See also links and function index membership)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Syntax

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

Parameters

     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, apodisation.m, axis_1d.m, bloch_sph_plot.m, bwr_cmap.m, contspacing.m, crop_2d.m, cylgrid.m, fid2ascii.m, ft_axis.m, heterodyne.m, int_2d.m, molplot.m, mri_2d_plot.m, plot_1d.m, plot_2d.m, plot_uf.m, s2json.m, scale_figure.m, slice_2d.m, stack_2d.m, sweep2ticks.m, write_movie.m, xyz2pd.m, Import,_export,_and_visualisation, Kernel_utilities

Version 2.1, authors: Ilya Kuprov