Difference between revisions of "Grid plot.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Correct function page syntax from current Spinach source)
m (Rename Arguments section heading to Parameters)
Line 7: Line 7:
 
     grid_plot(x,y,z,vorn,c,options)
 
     grid_plot(x,y,z,vorn,c,options)
  
−
==Arguments==
+
==Parameters==
  
 
   x,y,z  - column vectors containing Cartesian  
 
   x,y,z  - column vectors containing Cartesian  

Revision as of 18:49, 5 June 2026

Spherical quadrature grid plotter. Takes a cloud of points on a sphere and plots its Voronoi tessellation.

Syntax

    grid_plot(x,y,z,vorn,c,options)

Parameters

  x,y,z  - column vectors containing Cartesian 
           coordinates of grid points

  vorn   - Voronoi tessellation; if this is not 
           provided, it will be computed

Outputs

  this function plots a figure

Examples

Below is the Voronoi polyhedra diagram returned by grid_igloo(20).

Igloo 20.png

See also

Integration grids, Appendix I: powder grids

Version 2.6, authors: Ilya Kuprov