Editing operations

Histograms are output on the line printer by calling HISTDO or HPRINT, according to the following specifications:

One-dimensional histograms

One histogram per page is printed, writing the global title, date, title, drawing the contour of the histogram in the range between the minimum and the maximum content, with the contents scale adjusted to fit on one page, followed by channel number, contents, and low edge of each channel, plus some statistics about the histogram itself (entries, mean value, standard deviation and so on). If the number of channels is greater than 100, the histogram is printed on several pages.

Two-dimensional histograms

They can use more than one page, according to the number of channels in X and Y, and in X and Y both channel number and lower edge of each channel are printed.

The plot statistics reported at the bottom consists of a table of 9 numbers, corresponding to the total contents in each of the following classes:

                                |        |
                        ----N1--+---N2---+-N3-----
                        ----N4--+---N5---+-N6-----
                            N7  |   N8   | N9
                                  

  N1 =  underflow X     ,  overflow Y
  N2 =  X inside range  ,  overflow Y
  N3 =  overflow X      ,  overflow Y
  N4 =  underflow X     ,  Y inside range
  N5 =  X inside range  ,  Y inside range
  N6 =  overflow X      ,  Y inside range
  N7 =  underflow X     ,  underflow Y
  N8 =  X inside range  ,  underflow Y
  N9 =  overflow X      ,  underflow Y
Any of these numbers can in fact be smaller than the real sum of the contents, in the case of saturation of a cell.

For information on how to suppress the plot statistics, see HIDOPT(ID,'NPST') NPST

All projections, bands and slices follow the plot they refer to as 1-dimensional histograms in the order in which they were booked.

Histograms are printed with the channels oriented along computer printer output columns, so if they extend to more than 100 channels they will be chopped into pieces of 100 channels each and printed one after the other on separate pages. The same is true for 2-dimensional histograms, the limit for tables being related to the maximum value that has to be stored in each channel (see remarks about HTABLE).

Using the entries described in this chapter, it is possible to modify the standard output format, adding or suppressing some information, choosing a different printed presentation, and modifying the mapping of histograms onto computer output pages.

One-dimensional histograms can also be printed with channels oriented along rows instead of columns, to avoid chopping up those having more than 100 channels.

All editing entries must be executed before calling HISTDO or HPRINT. Some of them can be executed any time after the booking, others require that the histogram is already full, so it is good practice to group them (perhaps in one single subroutine) and execute them just before printing.

[HINGENTI]

Index and General Title

It is sometimes convenient to print just the index of plots without printing all the plots themselves.

                             +--------------+
                             |CALL  HINDEX   |
                             +--------------+
                                  

Action: Prints the index.

Remark:

Routine HISTDO generates the index automatically.

                         +----------------------+
                         | CALL  HTITLE (CHGTIT) |
                         +----------------------+
                                  

Action: Defines a general title to be printed as the header line of each histogram.

Input parameter:
CHGTIT
general title (character variable of up to 80 characters).

Remark:

  1. See HBOOK1 about passing the title
  2. A call to this routine does not destroy any given individual histogram titles.

    [HWHATPRI]

    What to Print (1-dimensional histogram)

    Each 1-dimensional histogram output consists of several parts, some compulsory and some optional, as follows:

    
    +-general-title---------------------------------compulsory-(if-defined)--##
    |                                                                        ##
    | identifier, date and title                    compulsory               ##
    | the histogram itself                          default = yes            ##
    | channel numbers                               default = yes            ##
    | channel contents                              default = yes            ##
    | error values                                  default = no             ##
    | value of the superimposed function (if any)   default = no             ##
    |                                                                        ##
    | integrated contents                           default = no             ##
    | low edge of channels                          default = yes            ##
    +-statistical-information-----------------------default-=-yes------------##
                                      

    Routine HIDOPT can be used to change the above defaults.

                            +------------------------+
                            | CALL  HIDOPT (ID,CHOPT) |
                            +------------------------+
                                      

    Action: Select an option for a given histogram.

    Input parameters:
    ID
    Histogram identifier. If ID=0 the option is set for all histograms.
    CHOPT
    Character variable specifying the option chosen (see table [more info].)

    
    
    +-Option--+-Action--------------------------------------------------+-----
    +---------+---------------------------------------------------------+-----
    | SETD*   | Set all options to the default values                   |
    | SHOW    | Print all the options currently set                     |
    | BLAC    | 1 Dim histogram printed with X characters (see HPCHAR)  |
    | CONT*   | 1 Dim histogram is printed with the contour option      |
    | STAR    | 1 Dim histogram is printed with a * at the Y value      |
    |         | (see HPCHAR)                                            |
    | SCAT*   | Print a 2 Dim histogram as a scatter-plot               |
    |         |                                                         |
    | TABL    | Print a 2 Dim histogram as a table                      |
    | PROS*   | Plot errors as the Spread of each bin in Y for profile  |
    |         | histograms                                              |
    | PROE    | Plot errors as the mean of each bin in Y for profile    |
    |         | histograms                                              |
    | STAT    | Mean value and RMS computed at filling time (double     |
    |         | precision)                                              |
    | NSTA*   | Mean value and RMS computed from bin contents only      |
    | ERRO    | Errors bars printed as SQRT(contents)                   |
    |         |                                                         |
    | NERR*   | Do not print print error bars                           |
    | INTE    | Print the values of integrated contents bin by bin      |
    | NINT*   | Do not print integrated contents                        |
    | LOGY    | 1 Dim histogram is printed in Log scale in Y            |
    | LINY*   | 1 Dim histogram is printed in linear scale in Y         |
    | PCHA*   | Print channel numbers                                   |
    |         |                                                         |
    | NPCH    | Do not print channel numbers                            |
    | PCON*   | Print bin contents                                      |
    | NPCO    | Do not print bin contents                               |
    | PLOW*   | Print values of low edge of the bins                    |
    | NPLO    | Do not print the low edge                               |
    | PERR    | Print the values of the errors for each bin             |
    |         |                                                         |
    | NPER*   | Do not print the values of the errors                   |
    | PFUN    | Print the values of the associated function bin by bin  |
    | NPFU*   | Do not print the values of the associated function      |
    | PHIS*   | Print the histogram profile                             |
    | NPHI    | Do not print the histogram profile                      |
    | PSTA*   | Print the values of statistics (entries,mean,RMS,etc.)  |
    |         |                                                         |
    | NPST    | Do not print values of statistics                       |
    | ROTA    | Print histogram rotated by 90 degrees                   |
    | NROT*   | Print histogram vertically                              |
    | 1EVL    | Force an integer value for the steps in the Y axis      |
    | AEVL*   | Steps for the Y axis are automatically computed         |
    | 2PAG    | Histogram is printed over two pages                     |
    |         |                                                         |
    +-1PAG*---+-Histogram-is-printed-in-one-single-page-----------------+-----
      A star '*' indicates that the option is the default setting.
    

    Table: [

    Available HBOOK options]List of available HBOOK options, which can be set by HIDOPT

    [THIDOPT]

    [HGRAFCHO]

    Graphic Choices (1-dimensional histogram)

    A histogram is normally represented by drawing its contour, with a channel being represented by one character along the printed line at a displacement corresponding to the bin contents, but alternative graphic presentations are available. If some contents are negative a dotted line is drawn at Y=0.

                           +--------------------------+
                           | CALL  HPCHAR (CHOPT,CHAR) |
                           +--------------------------+
                                      

    Action: Selects a printing character different from the default for histograms that are not drawn contour only, or for superimposed functions.

    Input parameters:
    CHOPT
    Printing option for which the character applies. It can be:
    'BLAC'
    when HIDOPT(ID,'BLAC') BLAC is called
    'FUNC'
    when HBFUN1, HFUNC or HIDOPT(ID,'STAR') STAR have been called.
    'STAR'
    when HBFUN1, HFUNC or HIDOPT(ID,'STAR') STAR have been called.
    CHAR
    Character chosen.

    Example:

    CALL HPCHAR ('STAR','.')
    
    

    Replaces the asterisk with a dot in all histograms with the HIDOPT(ID,'STAR') STAR option selected.

                             +----------------------+
                             |CALL  HBIGBI (ID,NCOL) |
                             +----------------------+
                                      

    Action: For a given 1-dimensional histogram prints one channel over a certain number of columns.

    Input parameters:
    ID
    Histogram identifier
    NCOL
    Number of columns to be used per bin. NCOL=0 meams use the full width of the page.

    Remark:

    1. HBIGBI will be applied to histograms output across the page only, i.e. if NCHAN*NCOL<=100. If this relation is not fulfilled, then the value of NCOL will be reduced till it obeys the inequality. No restrictions if the histogram is printed down the page (HIDOPT(ID,'ROTA') STAR).
    2. If the histogram is 2-dimensional, the ``bigbin'' option is selected on all its projections, etc.
    3. It can be redefined at any time.

      [HSCALNOR]

      Scale Definition and Normalization

      Note that, whenever a multiplication by a power of ten appears in the output, it means that the quantity it refers to has been multiplied by that factor before being printed. The scaling of the contents while outputing a 1-dimensional histogram is chosen by default to be linear and to span the interval between the minimum and the maximum of the contents of the channels.

      The options described below allow:

      1. the choice of a logarithmic contents scale
      2. the definition of the limits of the scale
      3. the choice of the minimum step of the scale to be an integer
      4. the choice of the same scale for several histograms so that they can be compared more easily
      5. the normalisation of the total contents to a given value

        If the identifier corresponds to a 2-dimensional histogram, they act on projections, slices, bands if any.

                                +----------------------+
                                |CALL  HMAXIM (ID,FMAX) |
                                +----------------------+
                                and--------------------+
                                |CALL  HMINIM (ID,FMIN) |
                                +----------------------+
                                          

        Action: The scale limits for a histogram are not calculated automatically, but they as set to the specified values. The histogram contents are left intact.

        Input parameters:
        ID
        Histogram identifier. ID=0 Meams apply limit to all existing histograms.
        FMAX(FMIN)
        Maximum (minimum) for contents scale of given histogram. When FMAX<=FMIN then the maximum and minimum values of the scale are computed automatically.
        These routines can be called as often as desired for a given histogram.

                                +------------------------+
                                | CALL  HCOMPA (IDVECT,N) |
                                +------------------------+
                                          

        Action: Compare the contents of all histograms whose identifiers are contained in array IDVECT and assign them the same vertical scale. The comparison is made on the basis of the contents at the time routine is called.

        Input parameters:
        IDVECT
        Array of N elements that contain the identifiers of the histograms to be compared The array must be dimensioned in the calling program to a length larger or equal to N.
        N
        Number of histograms to be compared N=0 Means compare all existing 1-dimensional histograms.

        Remark:

        This routine can be called as often as desired to recompute the histogram scales.

                                +------------------------+
                                | CALL  HNORMA (ID,XNORM) |
                                +------------------------+
                                          

        Action: Normalizes the total contents of a 1-dimensional histogram when printing it. Original contents are left intact.

        Input parameters:
        ID
        Histogram identifier ID=0 Meams apply normalization factor to all existing histograms
        XNORM
        Normalization factor to be applied to histogram when printing. XNORM=0 is illegal.

        Remark:

        1. If a function is superimposed, it is not affected by the normalization
        2. The histogram can have error bars
        3. The normalization factor can be redefined at any time.

                                  +------------------------+
                                  |CALL  HSCALE (ID,FACTOR) |
                                  +------------------------+
                                            

          Action: The contents scale for a scatter plot is multiplied by a given factor.

          Input parameters:
          ID
          Histogram identifier ID=0 Means apply scaling factor to to all existing 2-dimensional histograms.
          FACTOR
          Scaling factor to be applied to the contents scale. FACTOR=0 means automatic scaling. The range will be from the minimum to the maximum of the actual contents.

          In a scatter-plot the contents scale starts at 0. and increases in steps of 1. The content of each channel is represented by one character, using the following scheme:

          
                        +----Value------Character--------Range-------+
                        |                                            |
                        |             .            0VMX<-=x--+
                                            

          Remark:

          1. The call has no effect on the projection of histogram ID.
          2. The scale can be redefined several times.

            [HPAGECON]

            Page Control

            Plots are output on the line printer file, each of them starting at the beginning of a new page. The page size is an installation default. One dimensional histograms take one page, and are printed across the page.

            All those defaults can be overwritten as follows.

                                   +--------------------------+
                                   | CALL  HSQUEZ ('YES'/'NO') |
                                   +--------------------------+
                                              

            Action: Suppres / reestablish page eject.

            
                                     +----------------------+
                                     | CALL  HPAGSZ (NLINES) |
                                     +----------------------+
                                              

            Action: Changes the number of lines per page.

            Input parameter:
            NLINES
            Number of lines per page. The initial value of this parameter is system dependent (generally 56).

            [HSELEDIT]

            Selective Editing

            Editing routines that draw histograms use a considerable amount of core, due to the complexity of the tasks they have to perform.

            If the editing is performed by HISTDO or HPRINT, all the routines that deal with 1-dimensional histograms, rotated 1-dimensional histograms, 2-dimensional histograms, get loaded even if not used (e.g. even in the case where only 1-dimensional in standard format are required).

            In such cases, selective editing options for different classes can be used to replace HISTDO or HPRINT.

                                  +----------------------------+
                                  |CALL  HPHIST (ID,CHOICE,NUM) |
                                  +----------------------------+
                                              

            Action: Edits 1-dimensional histogram or projection, slice or band of a 2-dimensional histogram on the line printer, in the standard representation.

            Input parameters:
            ID
            Histogram identifier. ID=0 means edit all existing histograms.
            CHOICE
            Character variable that selects subhistograms (irrelevant for the one-dimensional case). See routine HUNPAK for possible values. CHOICE=' ' is equivalent to CHOICE='HIST'
            NUM
            Serial order of the slice or band. NUM=0 is the same as NUM=1

            Routine HPHIST ignores the option HIDOPT(ID,'ROTA') ROTA

                                  +----------------------------+
                                  | CALL  HPROT (ID,CHOICE,NUM) |
                                  +----------------------------+
                                              

            Action: Analogous to HPHIST, but with a presentation down the page. Parameters, special values and remarks are the same as for HPHIST.

                                       +------------------+
                                       | CALL  HPSCAT (ID) |
                                       +------------------+
                                              

            Action: Edits a 2-dimensional histogram as a scatter-plot.

            Input parameter:
            ID
            Histogram identifier (2-dimensional). ID=0 means to edit all histograms.

            Remark:

            1. The 2-dimensional histogram with identifier ID might have been booked as a table and will be output as a scatter-plot
            2. Projections are not printed, see HPHS.
                                          +----------------+
                                          |CALL  HPTAB (ID) |
                                          +----------------+
                                                

              Action: Edits a 2-dimensional histogram as a table.

              Input parameter:
              ID
              Histogram identifier (2-dimensional). ID=0 means to edit all histograms.

              Remark:

              1. The 2-dimensional histogram with identifier ID might have been booked as a scatterplot but it will be output as a table.

                The following two routines can be used to save space when the program does not print tables and rotated 1-dimensional histograms.

                                            +----------------+
                                            | CALL  HPHS (ID) |
                                            +----------------+
                                                  

                Action: Analogous to HPRINT, but ignore tables and HIDOPT(ID,'ROTA') ROTA.

                                            +----------------+
                                            |CALL  HPHST (ID) |
                                            +----------------+
                                                  

                Action: Analogous to ROTA.

                [HERRECOV]

                Printing after System Error Recovery

                The operating systems of some computers define CP time limits for job execution, and abort the job with a system error when this occurs. In most of the cases, users recover from the time limit error transfering control to a summary subroutine that will eventually edit the histograms, calling, e.g. HISTDO. This can be inconvenient if the time limit condition has been reached in HISTDO or other printing routines, because the printing will restart from the beginning. To avoid this, HBOOK can be instructed to start printing just where it stopped before.

                                             +--------------+
                                             |CALL  HPONCE   |
                                             +--------------+
                                                  

                Action: In case of system error recovery during histogram editing, a possible recovery editing will start where the original printing stopped.

                Remark:

                If HPONCE has been called before printing, then a histogram that has been output completely will no longer be printed.

                Changing Logical unit numbers for output and message files

                [HCUNILOG]

                The output file, containing the histograms, is by default the line printer file, where also error messages will be written.

                The names of the result and error files can be redefined using:

                                         +--------------------+
                                         | CALL  HOUTPU (LOUT) |
                                         +--------------------+
                                         and------------------+
                                         | CALL  HERMES (LERR) |
                                         +--------------------+
                                                  

                Action: Replaces the logical unit value of the file containing the results ( HOUTPU) or the error message ( HERMES).

                Input parameters:
                LOUT
                logical unit number of the file with the printed output
                LERR
                logical unit number of the file with error messages

                                    Example of printing options
                                                  

                      SUBROUTINE HEXAM4
                *.==========>
                *.           TEST PRINTING OPTIONS
                *..=========> ( R.Brun )
                      DATA XMIN,XMAX/0.,1./
                *.___________________________________________
                *
                *             Get hist 110 from data base
                *
                      CALL HRGET(110,'hexam.dat',' ')
                *
                *             Book 2 new histograms
                *
                      CALL HBOOK1(1000,'TEST OF PRINTING OPTIONS',40,1.,41.,0.)
                      CALL HBOOK1(2000,'TEST OF BIG BIN',20,XMIN,XMAX,0.)
                      CALL HIDOPT(1000,'ERRO')
                *
                *             Fills new IDs
                *
                      DO 10 I=1,40
                         J=2*I-1
                         W=HI(110,J)+HI(110,J+1)
                         CALL HFILL(1000,FLOAT(I),0.,W)
                  10  CONTINUE
                *
                      DO 20 I=1,20
                         J=5*I
                         W=SQRT(HI(110,J))
                         CALL HIX(2000,I,X)
                         CALL HF1(2000,X,W)
                  20  CONTINUE
                *
                *             Set various printing options
                *
                
                      CALL HIDOPT(110,'BLAC')
                      CALL HIDOPT(110,'NPLO')
                      CALL HIDOPT(110,'NPST')
                      CALL HPHIST(110,'HIST',1)
                      CALL HMAXIM(110,100.)
                      CALL HIDOPT(110,'1EVL')
                      CALL HIDOPT(110,'NPCH')
                      CALL HPHIST(110,'HIST',1)
                *
                      CALL HIDOPT(1000,'NPCH')
                      CALL HIDOPT(1000,'NPCO')
                      CALL HPROT(1000,'HIST',1)
                      CALL HIDOPT(1000,'LOGY')
                      CALL HPRINT(1000)
                      CALL HIDOPT(1000,'INTE')
                      CALL HIDOPT(1000,'PERR')
                      CALL HIDOPT(1000,'ROTA')
                      CALL HPRINT(1000)
                *
                      CALL HBIGBI(2000,5)
                      CALL HIDOPT(2000,'NPCO')
                      CALL HIDOPT(2000,'NPLO')
                      CALL HPRINT(2000)
                *
                      END
                

                                         Output Generated
                                                  

                 THIS HISTOGRAM IS FILLED ACCORDING TO THE FUNCTION HTFUN1
                 HBOOK     ID =       110                                        DATE  17/12/91              NO =   8
                      172                                    7
                      168                                    X
                      164                                    X
                      160                                   2X
                      156                                   XX 5
                      152                                   XX5X
                      148                                   XXXX7
                      144                                 25XXXXX
                      140                                 XXXXXXX5
                      136                                 XXXXXXXX
                      132                                 XXXXXXXX
                      128                                 XXXXXXXX2
                
                      124                                5XXXXXXXXX
                      120                               5XXXXXXXXXX
                      116                               XXXXXXXXXXX
                      112                               XXXXXXXXXXX
                      108                               XXXXXXXXXXX
                      104                              5XXXXXXXXXXX2
                      100                              XXXXXXXXXXXXX
                       96                              XXXXXXXXXXXXX 7
                       92                              XXXXXXXXXXXXX7X
                       88                             XXXXXXXXXXXXXXXX
                       84                             XXXXXXXXXXXXXXXX 5                              2 7
                       80                             XXXXXXXXXXXXXXXX X                        2     X X  5
                       76                             XXXXXXXXXXXXXXXX X                        X2X  2X X  X
                       72                             XXXXXXXXXXXXXXXX XX                       XXX2 XX X  X 2
                       68                             XXXXXXXXXXXXXXXX2XX                    2  XXXX2XXXX2XXXX
                       64                             XXXXXXXXXXXXXXXXXXX                  75X  XXXXXXXXXXXXXX7
                       60                           X XXXXXXXXXXXXXXXXXXX                  XXX 7XXXXXXXXXXXXXXX
                       56                           XXXXXXXXXXXXXXXXXXXXX                  XXX2XXXXXXXXXXXXXXXX 5
                       52                           XXXXXXXXXXXXXXXXXXXXXX               X5XXXXXXXXXXXXXXXXXXXX2X
                       48                          5XXXXXXXXXXXXXXXXXXXXXX2              XXXXXXXXXXXXXXXXXXXXXXXX
                       44                          XXXXXXXXXXXXXXXXXXXXXXXX             5XXXXXXXXXXXXXXXXXXXXXXXX5  X
                       40                          XXXXXXXXXXXXXXXXXXXXXXXX2           7XXXXXXXXXXXXXXXXXXXXXXXXXX  X
                       36                          XXXXXXXXXXXXXXXXXXXXXXXXX           XXXXXXXXXXXXXXXXXXXXXXXXXXX52XX
                       32                          XXXXXXXXXXXXXXXXXXXXXXXXX    2     5XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                       28                         7XXXXXXXXXXXXXXXXXXXXXXXXX7 5 X 7  2XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX2 X
                       24                       2XXXXXXXXXXXXXXXXXXXXXXXXXXXX2X X X2 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X25
                       20                      5XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X5XX5XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 7
                       16                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX5XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX7X
                       12                     7XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX77
                        8                 5 5XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX5727
                        4            5225XX5XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                 CHANNELS 100   0                                                                                                  1
                           10   0        1         2         3         4         5         6         7         8         9         0
                            1   1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
                 CONTENTS 100                          1111111111111
                           10                 112224658012445755432099687543222121221233455666557776678686676664543343222221111
                            1.       21124626818147606828212710478511552225771649871850922032539736953183588893942434650812591167574
                
                 THIS HISTOGRAM IS FILLED ACCORDING TO THE FUNCTION HTFUN1
                 HBOOK     ID =       110                                        DATE  17/12/91              NO =   9
                      100                              XXXXXXXXXXXXX
                       96                              XXXXXXXXXXXXX 7
                       92                              XXXXXXXXXXXXX7X
                       88                             XXXXXXXXXXXXXXXX
                       84                             XXXXXXXXXXXXXXXX 5                              2 7
                       80                             XXXXXXXXXXXXXXXX X                        2     X X  5
                       76                             XXXXXXXXXXXXXXXX X                        X2X  2X X  X
                       72                             XXXXXXXXXXXXXXXX XX                       XXX2 XX X  X 2
                       68                             XXXXXXXXXXXXXXXX2XX                    2  XXXX2XXXX2XXXX
                       64                             XXXXXXXXXXXXXXXXXXX                  75X  XXXXXXXXXXXXXX7
                       60                           X XXXXXXXXXXXXXXXXXXX                  XXX 7XXXXXXXXXXXXXXX
                       56                           XXXXXXXXXXXXXXXXXXXXX                  XXX2XXXXXXXXXXXXXXXX 5
                       52                           XXXXXXXXXXXXXXXXXXXXXX               X5XXXXXXXXXXXXXXXXXXXX2X
                       48                          5XXXXXXXXXXXXXXXXXXXXXX2              XXXXXXXXXXXXXXXXXXXXXXXX
                       44                          XXXXXXXXXXXXXXXXXXXXXXXX             5XXXXXXXXXXXXXXXXXXXXXXXX5  X
                       40                          XXXXXXXXXXXXXXXXXXXXXXXX2           7XXXXXXXXXXXXXXXXXXXXXXXXXX  X
                       36                          XXXXXXXXXXXXXXXXXXXXXXXXX           XXXXXXXXXXXXXXXXXXXXXXXXXXX52XX
                       32                          XXXXXXXXXXXXXXXXXXXXXXXXX    2     5XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                       28                         7XXXXXXXXXXXXXXXXXXXXXXXXX7 5 X 7  2XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX2 X
                       24                       2XXXXXXXXXXXXXXXXXXXXXXXXXXXX2X X X2 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X25
                       20                      5XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X5XX5XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 7
                       16                      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX5XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX7X
                       12                     7XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX77
                        8                 5 5XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX5727
                        4            5225XX5XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                 CONTENTS 100                          1111111111111
                           10                 112224658012445755432099687543222121221233455666557776678686676664543343222221111
                            1.       21124626818147606828212710478511552225771649871850922032539736953183588893942434650812591167574
                 TEST OF PRINTING OPTIONS
                 HBOOK     ID =      1000                                        DATE  17/12/91              NO =  10
                     100                               1   1   1   1   1   1   2   2   2   2   2   2   3   3   3
                      10       1   3   4   6   8   9   1   2   4   6   7   9   0   2   4   5   7   8   0   2   3
                       1.      6   2   8   4   0   6   2   8   4   0   6   2   8   4   0   6   2   8   4   0   6
                  LOW EDGE I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---
                     2
                     2
                     3      O
                     4      O
                     5      IOI
                     6       OI
                     7        IOI
                     8           IO-I
                     9               IO-I
                    10                      I-O-I
                
                    11                                I-O--I
                    12                                                  I--O--I
                    13                                                              I--O---I
                    14                                                                        I---O---I
                    15                                                                                   I---O---I
                    16                                                                             I---O----I
                    17                                                                         I---O---I
                    18                                                          I---O---I
                    19                                                 I--O--I
                    20                                       I--O--I
                    21                                  I-O--I
                    22                        I-O-I
                    23                IO-I
                    24              IO-I
                    25                IO-I
                    26                IO-I
                    27               IO-I
                    28                     I-O-I
                    29                           I-O-I
                    30                               I-O--I
                    31                                  I--O--I
                    32                               I-O--I
                    33                                        I--O--I
                    34                                       I--O--I
                    35                                     I--O--I
                    36                                        I--O--I
                    37                                       I--O---I
                    38                                       I--O--I
                    39                                     I--O--I
                    40                               I-O--I
                  LOW EDGE I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---
                     100                               1   1   1   1   1   1   2   2   2   2   2   2   3   3   3
                      10       1   3   4   6   8   9   1   2   4   6   7   9   0   2   4   5   7   8   0   2   3
                       1.      6   2   8   4   0   6   2   8   4   0   6   2   8   4   0   6   2   8   4   0   6
                 * ENTRIES =         40      * ALL CHANNELS = 0.4556E+04      * UNDERFLOW = 0.0000E+00      * OVERFLOW = 0.0000E+00
                 * BIN WID = 0.1000E+01      * MEAN VALUE   = 0.2331E+02      * R . M . S = 0.9558E+01
                
                 TEST OF PRINTING OPTIONS
                 HBOOK     ID =      1000                                        DATE  17/12/91              NO =  11
                      354.814                 0I
                      316.228                0I00
                      281.838               II  I
                      251.189               0    0
                      223.872              I     II
                      199.526              0      0
                      177.828              I      II            I  II
                      158.489                      0            00I000I
                      141.254             I        II         0 II0III0
                      125.893             0         0        0II      II
                      112.202             I                 II 0       0
                      100                            I      0
                       89.125            I           0      I
                       79.433            0           I     I
                       70.795            I                 0
                       63.096                              I
                       56.234           I             I II
                       50.119           0             0I00I
                       44.668           I             I0II0
                       39.811           I              I  I
                       35.481          I               I
                       31.623          0
                       28.184          I
                       25.119          I
                       22.387
                       19.953
                       17.783         I
                       15.849         I
                       14.125         0
                       12.589         I
                       11.22         II
                       10            I
                        8.913       I0
                        7.943       II
                        7.079       II
                        6.31        0I
                        5.623       II
                        5.012       I
                        4.467       I
                        3.981       I
                        3.548     II
                        3.162     II
                        2.818     II
                        2.512     II
                        2.239     00
                 LOW-EDGE  10            1111111111222222222233333333334
                            1.  1234567890123456789012345678901234567890
                
                 * ENTRIES =         40      * ALL CHANNELS = 0.4556E+04      * UNDERFLOW = 0.0000E+00      * OVERFLOW = 0.0000E+00
                 * BIN WID = 0.1000E+01      * MEAN VALUE   = 0.2331E+02      * R . M . S = 0.9558E+01
                
                 TEST OF PRINTING OPTIONS
                 HBOOK     ID =      1000                                        DATE  17/12/91              NO =  12
                                         100                                                                       1   1   1   1   2   3
                                          10                               1   1   1   1   2   3   3   5   6   7   0   2   5   9   5   1
                                           1.  2   2   3   3   5   6   7   0   2   5   9   5   1   9   0   3   9   0   5   8   9   1   6
                                           0   0   5   1   9   0   3   9   0   5   8   9   1   6   8   1   1   4   0   8   4   5   1   2
                                           0   0   1   6   8   1   1   4   0   9   5   5   2   2   1   2   0   3   0   9   9   3   9   3
                  LOW EDGE  INTEGRAT   ERRORS  I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I--
                     2
                     2
                     3         2         1.414 O--------I
                     4         4         1.414 O--------I
                     5        10         2.449           I--------O-----I
                     6        18         2.828                 I-------O----I
                     7        32         3.742                             I----O---I
                     8        61         5.385                                           I---O--I
                     9       106         6.708                                                    I--O-I
                    10       179         8.544                                                             I-O-I
                    11       295        10.77                                                                      I-O-I
                    12       485        13.784                                                                              I-OI
                    13       725        15.492                                                                                   IOI
                    14      1008        16.823                                                                                      IOI
                    15      1336        18.111                                                                                        IOI
                    16      1640        17.436                                                                                       IOI
                    17      1925        16.882                                                                                      IOI
                    18      2151        15.033                                                                                 I-OI
                    19      2337        13.638                                                                              IO-I
                    20      2484        12.124                                                                          IO-I
                    21      2608        11.136                                                                       IO-I
                    22      2690         9.055                                                               I-O-I
                    23      2738         6.928                                                     I--O-I
                    24      2778         6.325                                                  I--O-I
                    25      2825         6.856                                                     I-O--I
                    26      2873         6.928                                                     I--O-I
                    27      2916         6.557                                                   I--O-I
                    28      2985         8.307                                                            I-O-I
                    29      3079         9.695                                                                  IO-I
                    30      3192        10.63                                                                      I-OI
                    31      3319        11.269                                                                       I-OI
                    32      3431        10.583                                                                     IO-I
                    33      3581        12.247                                                                          I-OI
                    34      3726        12.042                                                                         I-OI
                    35      3864        11.747                                                                         IO-I
                    36      4013        12.207                                                                          IO-I
                    37      4161        12.166                                                                          IO-I
                    38      4307        12.083                                                                          IOI
                    39      4444        11.705                                                                        I-OI
                    40      4556        10.583                                                                     IO-I
                  LOW EDGE  INTEGRAT   ERRORS  I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I---I--
                
                                         100                                                                       1   1   1   1   2   3
                                          10                               1   1   1   1   2   3   3   5   6   7   0   2   5   9   5   1
                                           1.  2   2   3   3   5   6   7   0   2   5   9   5   1   9   0   3   9   0   5   8   9   1   6
                                           0   0   5   1   9   0   3   9   0   5   8   9   1   6   8   1   1   4   0   8   4   5   1   2
                                           0   0   1   6   8   1   1   4   0   9   5   5   2   2   1   2   0   3   0   9   9   3   9   3
                 * ENTRIES =         40      * ALL CHANNELS = 0.4556E+04      * UNDERFLOW = 0.0000E+00      * OVERFLOW = 0.0000E+00
                 * BIN WID = 0.1000E+01      * MEAN VALUE   = 0.2331E+02      * R . M . S = 0.9558E+01
                
                 TEST OF BIG BIN
                 HBOOK     ID =      2000                                        DATE  17/12/91              NO =  13
                       13.25                             -----
                       13                                I   I
                       12.75                             I   I
                       12.5                              I   I
                       12.25                             I   I
                       12                                I   I
                       11.75                             I   I
                       11.5                              I   I
                       11.25                             I   I-----
                       11                           -----I        I
                       10.75                        I             I
                       10.5                         I             I
                       10.25                        I             I
                       10                           I             I
                        9.75                        I             I
                        9.5                         I             I
                        9.25                        I             I-----
                        9                           I                  I                    -----
                        8.75                        I                  I                    I   I-----
                        8.5                         I                  I                    I        I
                        8.25                        I                  I                    I        I-----
                        8                           I                  I               -----I             I
                        7.75                        I                  I               I                  I
                        7.5                         I                  I               I                  I
                        7.25                        I                  I               I                  I
                        7                      -----I                  I               I                  I-----
                        6.75                   I                       I               I                       I-----
                        6.5                    I                       I               I                            I
                        6.25                   I                       I               I                            I
                        6                      I                       I               I                            I
                        5.75                   I                       I               I                            I
                        5.5                    I                       I          -----I                            I
                        5.25                   I                       I-----     I                                 I
                        5                      I                            I     I                                 I
                        4.75                   I                            I     I                                 I-----
                        4.5                    I                            I     I                                      I
                        4.25                   I                            I-----I                                      I
                        4                      I                                                                         I
                        3.75                   I                                                                         I
                        3.5               -----I                                                                         I-----
                        3.25              I                                                                                   I
                        3                 I                                                                                   I
                        2.75              I                                                                                   I
                        2.5               I                                                                                   I
                        2.25              I                                                                                   I
                        2            -----I                                                                                   I-----
                        1.75         I                                                                                             I
                        1.5          I                                                                                             I
                        1.25         I                                                                                             I
                
                        1            I                                                                                             I
                         .75         I                                                                                             I
                         .5          I                                                                                             I
                         .25         I                                                                                             I
                 CHANNELS  10       0                                            1                                                 2
                            1       1    2    3    4    5    6    7    8    9    0    1    2    3    4    5    6    7    8    9    0
                 * ENTRIES =         20      * ALL CHANNELS = 0.1282E+03      * UNDERFLOW = 0.0000E+00      * OVERFLOW = 0.0000E+00
                 * BIN WID = 0.5000E-01      * MEAN VALUE   = 0.4963E+00      * R . M . S = 0.2391E+00