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), using plotcube.m, by Thomas Montagnon.

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
• m, the number of rows, columns and depths of cubes The range will go from 0 to M.
• @blue a function handle, or an anonymous function, returning a logical value. If blue(x,y,z) is true, the cube will be colored blue.
• @red a function handle, or an anonymous function, returning a logical value. If red(x,y,z) is true, the cube will be colored red, unless it was already blue. Thus, the red cubes indicate "new" information.
• title is a title for the plot.

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:

Last revised on 22 December 2018.