BOX_PLOT
Integer Data Box Plots


BOX_PLOT is a MATLAB program which reads a file of integer coordinates and associated colors, and makes a plot, placing a unit box of the given color at each coordinate.

Usage:

box_plot ( 'input_filename' )
where

Licensing:

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

Languages:

BOX_PLOT 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.

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:

ADAPTIVE looks at the adaptive modification of a sparse grid rule in 2D.

ALPHA_1.0_1.0 prints some of the 64 pairs of values on an 8 by 8 grid. Blue indicates "old" data, and red "new".

ALPHA_1.0_1.5 prints some of the 64 pairs of values on an 8 by 8 grid. Blue indicates "old" data, and red "new".

ALPHA_1.0_2.0 prints some of the 64 pairs of values on an 8 by 8 grid. Blue indicates "old" data, and red "new".

BOXES suggests the monomials that are exactly integrated by a 2D Clenshaw-Curtis sparse grid of levels 0 through 4. Monomials added on this level are red, old ones are blue. A common 20x20 grid is used for all the plots.

CC looks at the monomials that are exactly integrated by 2D Clenshaw-Curtis sparse grids of levels 0 through 6, using a common 35x35 grid.

CCS looks at the monomials that are exactly integrated by 2D Clenshaw-Curtis "Slow exponential" sparse grids of levels 0 through 6, using a common 35x35 grid. This is a variant of the Clenshaw Curtis rule that tries to delay the exponential growth of the orders. Differences only appear once level 4 has been reached.

CGW looks at the first eight rules in an anisotropic sparse grid that has double the growth in X as in Y:

CHECKERBOARD is a set of 64 pairs of integers and colors that correspond to a checkerboard.

CLAY is a set of pairs of integers that record the basic method (1,1) in blue, some low order methods in green, and secondary refinements in red.

F is a set of points that can make the letter F:

GP looks at the monomials that are exactly integrated by 2D Gauss-Patterson sparse grids of levels 0 through 5, using a common 35x35 grid.

GPS looks at the monomials that are exactly integrated by 2D slow-growth Gauss-Patterson sparse grids of levels 0 through 5, using a common 35x35 grid.

SM symbolically displays the monomials that will be integrated precisely by a Smolyak sparse grid rule of given level if the 1D factor rules form a family of precisions at least 1, 3, 5, 7, 9, ...

SPARSE is a sequence of plots that suggest how a sparse grid is put together in such a way as to capture all monomials up to a specific total degree.

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


Last revised on 09 January 2014.