GRAPHICS_EXAMPLES
Sample Data for Graphics Demonstrations


GRAPHICS_EXAMPLES, MATHEMATICA programs which illustrate how various kinds of data can be displayed and analyzed graphically.

Licensing:

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

Languages:

GRAPHICS_EXAMPLES programs are available in a C version and a C++ version and a dataset version and a FORTRAN77 version and a FORTRAN90 version and a MATHEMATICA version and a MATLAB version and a Python version.

Related Software and Data:

GRAPHICS_EXAMPLES_CONVERT, examples which illustrate how various kinds of data can be processed and modified using the ImageMagick program convert() and its related tools.

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

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

GRAPHICS_EXAMPLES_PLOTLY1, examples which illustrate how various kinds of data can be displayed and analyzed graphically, using version 1 of the plotly() program from a browser.

Reference:

  1. Andrew Frank, Arthur Asuncion,
    UCI Machine Learning Repository,
    http://archive.ics.uci.edu/ml,
    School of Information and Computer Science,
    University of California, Irvine, California.
  2. Philipp Janert,
    Gnuplot in Action: Understanding Data with Graphs,
    Manning, 2010,
    ISBN13: 978-1-933988-39-8,
    LC: QA276.4.J37.
  3. Wendy Martinez, Angel Martinez,
    Computational Statistics Handbook with MATLAB,
    Chapman and Hall / CRC, 2002,
    ISBN: 1-58488-229-8,
    LC: QA276.4.M272.

Examples and Tests:

CIRCLE_INOUT depicts 500 pairs of (X,Y) data points in the unit square, 395 of which lie inside the unit circle, and 105 outside. If possible, the "inside" points should be blue, the "outside" points red, and the circle itself should also be drawn.

GEYSER contains the waiting time in minutes between successive eruptions of the Old Faithful geyser. 299 values are recorded. The data ranges from 43 to 108. It should be displayed in 14 bins of width 5 from 40 to 110. The data comes from Martinez and Martinez.

LYNX records the yearly lynx harvest from 1821 to 1934. The graph should plot the data points as circles, and connect consecutive data points with straight line segments to suggest a curve.

SCATTER_PLOT generates 500 pairs of (X,Y) data, which lie in the unit square, and tend to cluster around (0.5,0.5).

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


Last modified on 02 May 2011.