Display a Grid of Circles

**CIRCLE_GRID_DISPLAY**
is a MATLAB program which reads a matrix of integers, and draws a
corresponding grid of circles filled with color.

The program will display a grid of circles filled with colors according to the values in the matrix:

- 0: white
- 1: red
- 2: green
- 3: blue
- 4: cyan
- 5: yellow
- 6: magenta
- 7: black

This program was designed in particular to make it possible to illustrate individual steps in the evolution of John Conway's Game of Life.

The computer code and data files made available on this web page are distributed under the GNU LGPL license.

**CIRCLE_GRID_DISPLAY** is available in
a MATLAB version.

BALL_AND_STICK_DISPLAY, a MATLAB program which demonstrates the creation of a 3D ball and stick image;

BOX_DISPLAY, a MATLAB program which displays a box plot, over integer pairs of data, of a function defined by two formulas.

BOX_PLOT, a MATLAB program which displays a box plot of data that consists of pairs of integers;

CC_DISPLAY, a MATLAB program which displays the points used in a 2D Clenshaw-Curtis quadrature rule;

GL_DISPLAY, a MATLAB program which displays the points used in a 2D Gauss-Legendre quadrature rule;

GRF_DISPLAY, a MATLAB program which reads a GRF file defining a mathematical graph and displays it in the MATLAB graphics window.

GRID_DISPLAY, a MATLAB program 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 program which reads two files of grids or sparse grids, displays the first with hollow blue dots, the second with red dots.

LIFE_SERIAL, a MATLAB program which computes a few steps of the evolution of John Conway's Game of Life, intended as a starting point for implementing a parallel version.

NESTED_SEQUENCE_DISPLAY, a MATLAB program which displays a set of nested sequences.

SEQUENCE_STREAK_DISPLAY, a MATLAB program which displays a streak plot of a numeric sequence;

TENSOR_GRID_DISPLAY, a MATLAB program which can display the grid points of a tensor product rule used for interpolation or quadrature, in 1D, 2D or 3D.

- circle_grid_display.m the program.

The LIFE_SERIAL program created a series of text files corresponding to the evolution of a 12x12 grid. CIRCLE_GRID was used to make images of several of these files.

- life_000.txt
- life_000.png, a color grid created by the program.
- life_001.txt
- life_001.png, a color grid created by the program.
- life_002.txt
- life_003.txt
- life_004.txt
- life_005.txt
- life_006.txt
- life_007.txt
- life_008.txt
- life_009.txt
- life_010.txt

You can go up one level to the MATLAB source codes.