VMX is used to compute the number of bits to be allocated per
histogram channel. If VMX<1. then one full word is reserved per
channel. When filling a histogram with weights the latter are truncated to
the nearest integer unless one full word is reserved per channel (i.e.
VMX = 0.). Filling with negative weights will give meaningless
results unless one word per channel has been allocated.
Automatic calculation of limits (XMA<=XMI) forces one
word per channel.
Two-dimensional case
+--------------------------------------------------+
|CALL HBOOK2 (ID,CHTITL,NX,XMI,XMA,NY,YMI,YMA,VMX) |
+--------------------------------------------------+
Action: Books a two-dimensional histogram.
Input parameter(s)
- ID
- histogram identifier, integer
- CHTITL
- histogram title (character variable or
constant up to 80 characters)
- NX
- number of channels in X
- XMI
- lower edge of first X channel
- XMA
- upper edge of last X channel
- NY
- number of channels in Y
- YMI
- lower edge of first Y channel
- YMA
- upper edge of last Y channel
- VMX
- maximum population to store in 1 cell.
Remarks:
- Similar to HBOOK1, apart from automatic binning.
- By default, a 2-dimensional histogram will be printed as a
scatterplot.
- If the option TABL is selected via
CALL HIDOPT(ID,'TABL') TABL the 2-dimensional histogram will be
printed as a table.
- When editing the table, the number of columns NCOL used to
write the content of one cell depends on the value of VMX as
follows NCOL = ALOG10(VMX) + 2. When VMX is zero, the
contents is printed in 10 columns in floating point format (including
sign). If necessary, all contents are multiplied by a power of 10, this
number being reported at the bottom of the table.