sphere_lebedev_rule_display, a MATLAB code which reads the name of a data file defining a Lebedev quadrature rule for the sphere, reads the file, creates an "XYZ" file containing the coordinates of the quadrature poins, and then and displays a unit sphere and the points in the MATLAB graphics window.

The Lebedev quadrature rule file contains a table of values of theta, phi, and weights. The angles are measured in degrees. So it is helpful to have this program read the data, convert angles to radians, compute the XYZ coordinates (and save the values in a file) and then display the point set.


sphere_lebedev_rule_display ( 'prefix' )


The computer code and data files described and made available on this web page are distributed under the MIT license


sphere_lebedev_rule_display is available in a MATLAB version.

Related Data and Programs:

ball_and_stick_display, a MATLAB code which demonstrates the creation of a 3D "ball and stick" image;

quad_surface_display, a MATLAB code which reads files defining a 3D quadrilateral mesh surface and displays it within MATLAB.

sphere_cvt, a MATLAB code which creates a mesh of well-separated points on a unit sphere by applying the Centroidal Voronoi Tessellation (CVT) iteration.

sphere_delaunay, a MATLAB code which computes the Delaunay triangulation of points on a sphere.

sphere_grid, a dataset directory which contains grids of points, lines, triangles or quadrilaterals on a sphere;

sphere_grid, a MATLAB code which provides a number of ways of generating grids of points, or of points and lines, or of points and lines and faces, over the unit sphere.

sphere_lebedev_rule, a MATLAB code which computes Lebedev quadrature rules for the unit sphere;


sphere_voronoi, a MATLAB code which computes the Voronoi diagram of points on a sphere.

tri_surface_display, a MATLAB code which reads data defining a triangular mesh of a 3D surface and displays it.

Source Code:

Last revised on 26 March 2019.