NESTED_SEQUENCE_DISPLAY is an executable MATLAB program which displays a set of sequences, as lines of X values, "stacked up" in the Y direction. For cases where successive 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 5 6 7 8
| | |
Sequence 3: 1 5 7
| |
Sequence 2: 1 3 7
|
Sequence 1: 1
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 invokes the program. It then engages in a dialog with the user, who is asked to enter, one by one, the names of files containing the sequences. When there are no more files to enter, the user should enter 'RETURN'. At that point, the plot will be drawn.
SEQUENCE_STREAK_DISPLAY is a MATLAB program 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.
TABLE is the format used for the files containing the sequences.
CC is a set of files containing Clenshaw Curtis abscissas.
You can go up one level to the MATLAB source codes.