SEQUENCE_STREAK_DISPLAY is a MATLAB program which displays a "streak plot" of a numeric sequence.
The idea is very simple. We can think of a sequence Y as the pairs of values (I,Y(I)). We can then plot this sequence in the usual way. To make a "streak plot", however, we now extend a horizontal ray from each plotted point all the way to the right.
Such a plot can be useful for examing the van der Corput sequence, for instance, which "fills in" the unit interval in a regular way. Looking at the streak plot, you can see the gaps between values shrinking as you move to the right.
Another possible use for such plots is for sequences with one, or better yet several, accumulation points. In that case, you will see the streak lines clustering together as you proceed.
sequence_streak_display ( 'filename', 'direction' )where
The computer code and data files made available on this web page are distributed under the GNU LGPL license.
SEQUENCE_STREAK_DISPLAY is available in a MATLAB version.
CIRCLE_GRID_DISPLAY, a MATLAB program which reads a matrix of integers, and draws a corresponding grid of circles filled with color.
COLLATZ, a MATLAB library which generates the Collatz sequence, which can be displayed by SEQUENCE_STREAK_DISPLAY.
GRIDLINES, a MATLAB library which gives the user more control over drawing gridlines on a graph than the builtin "grid on" command.
NESTED_SEQUENCE_DISPLAY, a MATLAB program which reads a set of sequences, plots them as horizontal lines of data, and connects sequence entries that are equal.
PLY_DISPLAY, a MATLAB program which displays an image of a 3D graphics file in PLY format;
VAN_DER_CORPUT, a MATLAB library which generates the van der Corput sequence, which can be displayed by SEQUENCE_STREAK_DISPLAY.
collatz_27 lists the Collatz sequence starting at 27.
collatz_count lists the number of entries in each Collatz sequence with starting values from 1 to 100.
uniform_01_00100 contains 100 points of a uniform random sequence in 1D.
van_der_corput_2_0_100 contains 100 points of the van der Corput sequence, using base 2.
You can go up one level to the MATLAB source codes.