The HIST_2D function returns the two dimensional density function (histogram) of two variables, a longword array of dimensions (MAX( V1 )+1, MAX( V2 )+1). Result( i,j ) is equal to the number of simultaneous occurrences of V1 = i and V2 = j at the specified element.
This routine is written in the IDL language. Its source code can be found in the file
hist_2d.pro
in the
lib
subdirectory of the IDL distribution.
The size of each bin in the V1 direction (column width). If this keyword is not specified, the size is set to 1.
The size of each bin in the V2 direction (row height). If this keyword is not specified, the size is set to 1.
MAX1 is the maximum V1 value to consider. If this keyword is not specified, then V1 is searched for its largest value.
MAX2 is the maximum V2 value to consider. If this keyword is not specified, then V2 is searched for its largest value.
H_EQ_CT , H_EQ_INT , HIST_EQUAL , HISTOGRAM