hist.4
histogram generating user function
SYNOPSIS
fn hist.4 [bins [min max]]
DESCRIPTION
The user function hist.4 takes your x data and generates new data for a histogram. (The data points are lost in the process.) The histogram is a plot of the frequency of occurrence of x values over equally spaced intervals (or bins). You can choose the starting value of the first bin, the end value of the last bin and the number of bins.
The function first sorts data by the x values. If invoked without arguments, you can select the minimum and maximum values. The default choices are the minimum and maximum data values.
By default, C-PLOT selects the number of bins to be the difference between the minimum and maximum rounded to an integer (or the difference times increasing powers of 10, until the result is greater than 0).
Alternatively, you can enter just the number of bins on the command line, in which case the data minimum and maximum values will be used, or you can enter the number of bins and specify minimum and maximum values.
When the function returns, draw the current points with a solid line (symbol L)to obtain the histogram.
SYNOPSIS
fn hist.4