function histogram

Create a histogram of given array.

Syntax
result = histogram(a [, min [, max [, binsize]]] [, /reverse])

Arguments
a:   1D or 2D Array
min:   Datapoints with a value smaller than min are neglected.
max:   Datapoints with a value greater than max are neglected.
binsize:   Default is 1. Values between are rounded


Switches
/reverse:   Create the reverse indices of a histogram