CUBE_DISPLAY
Integer Data Cube Plots


CUBE_DISPLAY is a MATLAB program which creates a plot over a range of integer cubes, which can be painted red (new stuff) and or blue (old stuff).

It is intended to display, for various familiies of 3D collocation rules, the set of active (i,j,k) indices, with the red cubes indicating indices that have just been added to the previous rule, in blue, to form the current one.

A 3D plot is displayed. The viewer can manipulate the plot, turning it, zooming, and so on. The PNG plots displayed here represent only a single view of the data.

Usage:

cube_display ( m, @blue, @red, title )
where

Licensing:

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

Languages:

CUBE_DISPLAY is available in a MATLAB version.

Related Data and Programs:

BAR_PLOT, a FORTRAN90 program which reads a set of data from a file and creates a bar plot.

BOX_DISPLAY, a MATLAB program which displays a box plot, over integer pairs of data, of a function defined by two formulas.

BOX_PLOT, a MATLAB program which displays a box plot of data that consists of pairs of integers;

CC_DISPLAY, a MATLAB program which displays the abscissas used in various kinds of Clenshaw Curtis quadrature rules.

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 the abscissas used in various kinds of Gauss Legendre quadrature rules.

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

PLOT_POINTS, a FORTRAN90 program which reads a set of points from a file and plots them into an Encapsulated PostScript file.

PRIME_PLOT a MATLAB program which displays a box plot of the prime and composite numbers.

XY_DISPLAY, a MATLAB program which reads a set of 2D points from a file and plots them in a the MATLAB graphics window.

XYF_DISPLAY, a MATLAB program which reads XYF information defining points and faces in 2D, and displays an image in a MATLAB graphics window.

XYL_DISPLAY, a MATLAB program which reads XYL information defining points and lines in 2D, and displays an image in a MATLAB graphics window.

XYZ_DISPLAY, a MATLAB program which reads a set of 3D points from a file and plots them in a the MATLAB graphics window.

Source Code:

Examples and Tests:

The CC functions are just a quick fix to allow me to define the degrees of 3D Clenshaw-Curtis sparse grids.

CC represents the Smolyak Clenshaw Curtis polynomials for which log2(D1-1)+log2(D2-1)+log2(D3-1) <= L. Blue indicates "old" data, and red "new".

DEGREE482 represents the monomials precisely integrated by an anisotropic quadrature rule, assuming the quadrature rule is just powerful enough to integrate x^4 and y^8 and z^2.

DEGREE8 represents the monomials precisely integrated by quadrature rules, assuming the quadrature rule is just powerful enough to integrate x^8 and y^8 and z^8.

HC represents the hyperbolic cross polynomials for which (D1+1)*(D2+1)*(D3+1) <= L. Blue indicates "old" data, and red "new".

MD represents the maximum degree polynomials for which max ( D1, D2, D3 ) <= L. Blue indicates "old" data, and red "new".

TD represents the total degree polynomials for which D1 + D2 + D3 <= L. Blue indicates "old" data, and red "new".

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


Last revised on 09 September 2017.