Histogram

An embryonic graphical tool. The prototype is:

void plotHisto(char *title, Array a)  ;
Plots the histogram of the array of integers a.

Menu items:

The histogram itself is plotted in blue.

In the top right corner, total indicates the cumulated sum, i.e. the integral of y(x); max y(xm) = ymax indicates the coordinates (xm,ymax) of the maximum; max x is the maximal x value.

In the top left corner, the pair of number indicates the coordinates of the center of the black reticule. Picking anywhere with the left mouse button, you can move the reticule and get its new coordinates.

Statistics just gives the average and the variance of the plot.

to Table of Contents

last edited: July 1994