
A command to draw the distribution histogram of the values in the selected part of a Matrix.
For a particular matrix element z, the histogram bin number i that will be incremented obeys the following relation:
lowerBinBorder_{i} ≤ z < lowerBinBorder_{i}+ binWidth, 
where
binWidth = (maximumValue  minimumValue)/numberOfBins, 
and
lowerBinBorder_{i} = minimumValue + (i  1)·binWidth. 
In this way all bins will be based on exactly the same width, as each binning interval includes its lower border and excludes its upper border (i.e., each interval is closed to the left and open to the right).
© djmw, November 10, 2004