HISTINIT - allocate and initialize a histogram.
hg = histinit( [type, difx, difw, lowest, highest] );
void *histinit( [int type, int difx, int difw,
int lowest, int highest] );
- is a pointer that will be used to identify this
- describes how the values are gathered.
- non-weighted values only
- weighted values only
- weighted and non-weighted values (default)
- tells how the values supplied by the user should be used.
- Use the actual values supplied by the user
- Use the difference of successive values. This is
useful for a histogram of times, where the value
in the call would be the current clock.
- tells how the weights supplied by the user should be
used. It works the same as "difx".
- indicates the minimum value displayed. Values less than
"lowest" are not shown in the histogram plot.
- indicates the maximum value plotted. Values greater than
or equal to this are not shown in the histogram plot.
HISTINIT allocates and initializes the space for histogram
Values outside the range "lowest" to
"highest" are still counted in calculating the basic
statistics about the data; they simply are not included in the
plot. Thus by specifying a "lowest" and
"highest" value, you may expand the display of some
subsection of the total histogram. If you wish to exclude some
range of values from the calculation completely, eliminate data
points in that range before they are passed to HISTOGRAM.
Normally, "lowest" and "highest" are not
expl b lib hist
Copyright © 1996, Thinkage Ltd.