box_plot_test


box_plot_test, a MATLAB code which calls box_plot() to read a file of integer coordinates and associated colors, and make a plot, placing a unit box of the given color at each coordinate.

Licensing:

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

Related Data and Programs:

box_plot, a MATLAB code which displays a box plot of data that consists of pairs of integers;

Source Code:

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.


Last revised on 03 December 2018.