nested_sequence_display, a MATLAB code which displays a set of sequences, as lines of X values, "stacked up" in the Y direction. For cases where sequences share a value, a red vertical line is drawn to highlight this.
The purpose of the plot is to emphasize the structure of a nested sequence, although it is not actually necessary for the sequences to be related in any way.
The kind of plot we are thinking of though, might look something like this:
Sequence 4: 1 3 4 5 6 8 | | | | Sequence 3: 1 2 | 5 7 | | | | | Sequence 2: 1 3 7 | | | | Sequence 1: 1 7 8
For example, the program could be used to show the nesting of the family of Clenshaw Curtis points, when choosing orders 1, 3, 5, 9, 17, 33, 65, ...
nested_sequence_display ( list_file )where
The computer code and data files made available on this web page are distributed under the GNU LGPL license.
nested_sequence_display is available in a MATLAB version.
box_display, a MATLAB code which displays a box plot, over integer pairs of data, of a function defined by two formulas.
cc_display, a MATLAB code which displays the points used in a 2D Clenshaw-Curtis quadrature rule;
circle_grid_display, a MATLAB code which reads a matrix of integers, and draws a corresponding grid of circles filled with color.
gl_display, a MATLAB code which displays the points used in a 2D Gauss-Legendre quadrature rule;
grid_display, a MATLAB code which reads a file of points on a grid or sparse grid, displays the grid and saves the image in a Portable Network Graphics (PNG) file;
grids_display, a MATLAB code which reads two files of grids or sparse grids, displays the first with hollow blue dots, the second with red dots.
gridlines, a MATLAB code which gives the user more control over drawing gridlines on a graph than the builtin "grid on" command.
sequence_streak_display, a MATLAB code which reads a file containing a sequence, and draws a "streak" plot in which, as each value joins the sequence, it starts a streak on the plot.
tensor_grid_display, a MATLAB code which can display the grid points of a tensor product rule used for interpolation or quadrature, in 1D, 2D or 3D.