Abscissa to channel number

[HABSCNUM]

                      +-------------------+
                      |CALL  HXI (ID,X,I*) |
                      +-------------------+
                      and------------------------+
                      |CALL  HXYIJ (ID,X,Y,I*,J*) |
                      +--------------------------+
                                  

Action: Return the number of the channel (cell) which contains a given value in X (1-dimensional case) or a given pair of (X,Y) (2-dimensional case).

Input parameters:
ID
Histogram identifier
X
X-value
Y
Y-value (2-dimensional case, i.e. HXYIJ only)
Output Parameters:
I
Channel number in X-dimension. Under/Overflows give I=0 or I=NCHANX+1 respectively.
J
Channel number in Y-dimension (2-dimensional case, i.e. HXYIJ only). Under/Overflows give J=0 or J=NCHANY+1 respectively.

                      +-------------------+
                      |CALL  HIX (ID,I,X*) |
                      +-------------------+
                      and------------------------+
                      |CALL  HIJXY (ID,I,J,X*,Y*) |
                      +--------------------------+
                                  

Action: Returns the X-coordinate of the lower edge of a given channel (1-dimensional case) or the X-Y coordinate pair if a given cell (2-dimensional case).

Input parameters:
ID
Histogram identifier.
I
Channel or cell number in X-dimension, with 1<= I < = NCHANX.
J
Cell number in Y-dimension with 1<= J < = NCHANY. (2-dimensional case, i.e. HIJXY only)
Output Parameters:
X
X-coordinate of lower edge of channel or cell.
Y
Y-coordinate of lower edge of cell. (2-dimensional case, i.e. HIJXY only).