| 1 |
<!-- $Id: Histogram.html,v 1.4 1999/04/29 16:16:47 fw Exp $ --> |
| 2 |
<head> |
| 3 |
<title>Histogram</title> |
| 4 |
</head> |
| 5 |
|
| 6 |
<BODY BGCOLOR=#ffffff> |
| 7 |
|
| 8 |
<h2>Histogram</h2> |
| 9 |
|
| 10 |
An embryonic graphical tool. The prototype is:<p> |
| 11 |
|
| 12 |
<pre> |
| 13 |
void plotHisto(char *title, Array a) ; |
| 14 |
</pre> |
| 15 |
|
| 16 |
Plots the histogram of the array of integers a.<p> |
| 17 |
|
| 18 |
<h3>Menu items:</h3> |
| 19 |
|
| 20 |
<ul> |
| 21 |
|
| 22 |
<li><strong>Print</strong>: prepares a Post Script file in ./PS |
| 23 |
(histo#.PS) which you can then print on your local laser printer. |
| 24 |
|
| 25 |
</ul> |
| 26 |
|
| 27 |
The histogram itself is plotted in blue.<p> |
| 28 |
|
| 29 |
In the top right corner, total indicates the cumulated sum, i.e. the |
| 30 |
integral of y(x); max y(xm) = ymax indicates the coordinates (xm,ymax) |
| 31 |
of the maximum; max x is the maximal x value.<p> |
| 32 |
|
| 33 |
In the top left corner, the pair of number indicates the coordinates |
| 34 |
of the center of the black reticule. Picking anywhere with the left |
| 35 |
mouse button, you can move the reticule and get its new coordinates.<p> |
| 36 |
|
| 37 |
Statistics just gives the average and the variance of the plot.<p> |
| 38 |
|
| 39 |
to <a href="TOC.html">Table of Contents</a><p> |
| 40 |
|
| 41 |
last edited: July 1994<p> |
| 42 |
|
| 43 |
</BODY> |