Create GNUPLOT Commands for Mario Image

MARIO, a C++ program which creates a file of commands to GNUPLOT that can be used to plot a sort of "needlepoint" image of Mario, as an array of colored squares.


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


MARIO is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version.

Related Data and Programs:

GNUPLOT, C++ programs which illustrate how a program can write data and command files so that gnuplot can create plots of the program results.

GRAPHICS_EXAMPLES_GNUPLOT, examples which illustrate how various kinds of data can be displayed and analyzed graphically using the interactive executable graphics program gnuplot().

ISING_2D_SIMULATION, a C++ program which carries out a Monte Carlo simulation of an Ising model, a 2D array of positive and negative charges, each of which is likely to flip to be in agreement with neighbors, using gnuplot to make images of the initial and final configurations.

Source Code:

Examples and Tests:

You can go up one level to the C++ source codes.

Last revised on 20 April 2018.