sfthistogram computes a histogram for distribution of values in the input dataset.

The following example from rsf/rsf/sfnoise plots the histogram of a normally-distributed random noise:

The output of sfhistogram contains integer values arranged in a one-dimensional array. The sampling is specified by n1=, d1=, and o1= parameters.

10 previous programs of the month: