grid_display_test, a MATLAB code which calls grid_display(), which reads an ASCII file defining a set of points on a 1D, 2D or 3D grid or sparse grid, and displays a plot of those points, inside a plot frame of user-specified range [Rmin,Rmax].


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

Related Data and Programs:

grid_display, a MATLAB code which reads a file of points on a grid or sparse grid, displays the grid and saves the image in a Portable Network graphics (PNG) file;

Source Code:

A 1D example:

        grid_display ( 'hermite_o7_x.txt', -5, +5 )

A 2D example:

        grid_display ( 'f2_d2_level5_x.txt', -1, +1 )

A 3D example of a sparse grid using Newton Cotes Closed points,

        grid_display ( 'ncc_d3_level3_x.txt', 0, +1 )

A 3D example of a sparse grid using Clenshaw Curtis points:

        grid_display ( 'cc_d3_level2_x.txt', -1, +1 )

Last revised on 25 January 2019.