GRID_DISPLAY
Plot 1D, 2D and 3D Point Grids


GRID_DISPLAY is a MATLAB program which can read an ASCII file defining a set of points on a 1D, 2D or 3D grid or sparse grid, and display a plot of those points, inside a plot frame of user-specified range [Rmin,Rmax].

Usage:

grid_display ( 'file_name', rmin, rmax )
where

Licensing:

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

Languages:

GRID_DISPLAY is available in a MATLAB version.

Related Data and Programs:

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

CC_DISPLAY, a MATLAB program which displays points on various grids derived from the Clenshaw Curtis rule.

CIRCLE_GRID_DISPLAY, a MATLAB program which reads a matrix of integers, and draws a corresponding grid of circles filled with color.

GL_DISPLAY, a MATLAB program which displays points on various grids derived from the Gauss-Legendre rule.

GRIDLINES, a MATLAB library which gives the user more control over drawing gridlines on a graph than the builtin "grid on" command.

GRIDS_DISPLAY, a MATLAB program which reads two files of grids or sparse grids, displays the first with hollow blue dots, the second with red dots.

NESTED_SEQUENCE_DISPLAY, a MATLAB program which displays a set of nested sequences.

PLY_DISPLAY, a MATLAB program which displays an image of a 3D graphics file in PLY format;

QUADRATURE_RULES, a dataset directory which defines quadrature rules; a number of examples of sparse grid quadrature rules are included.

TENSOR_GRID_DISPLAY, a MATLAB program which can display the grid points of a tensor product rule used for interpolation or quadrature, in 1D, 2D or 3D.

XY, a data directory which contains some examples of 2D pointsets.

XY_DISPLAY, a MATLAB program which can read a file of coordinates of points, and display an image of the points in a MATLAB graphics window.

XY_DISPLAY_OPENGL, a C++ program which can read a file containing 2D point coordinates, and display an image of those points using Open GL.

Source Code:

Examples and Tests:

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 )
      

You can go up one level to the MATLAB source codes.


Last revised on 04 February 2014.