nested_sequence_display


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

Usage:

nested_sequence_display ( list_file )
where

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

nested_sequence_display is available in a MATLAB version and an Octave version.

Related Data and Programs:

nested_sequence_display_test

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.

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 built in grid() command.

tensor_grid_display, a MATLAB code which displays the grid points of a tensor product rule used for interpolation or quadrature, in 1D, 2D or 3D.

Source Code:


Last revised on 22 February 2019.