Histogram operations

Perform operations on histograms read from file and save results
1 HISTOGRAM/FILE 1 PAWHISTS.HBOOK ! U
hrin *
zon 2 2
opt grid
set mtyp 26
hi/pl 110 e
hi/pl 110 pl
zon 1 2 2 s
2 HI/OP/ADD 110 110 120 0.5 0.
hi/op/add 110 110 130 0.25 0.
set htyp 245
hi/pl 110
set htyp 254
3 HI/PL //PAWC/120 s
set htyp 253
hi/pl //PAWC/130 s
text 0.55 95. 'LEP Very Preliminary' 0.35 25.
hrout 0

- The option `` U '' (for Update) in the command HIST/FILE , is
used when the user wants to change the content of an existing histogram
file by adding a new histogram
( HROUT ) or deleting an
histogram
( HSCRATCH ).
- It is possible to perform operations between histograms like addition
with the commands in the menu
HISTOGRAM/OPERATIONS .
- The memory, like the attached files, can be considered as a directory.
This is the current directory by default and //PAWC is its name.
The command HI/PL //PAWC/id plots the histogram `` id '' in
memory while the current directory is //LUN1 .

Some ``cosmetic modifications'' on PAWEX13
histogram/file 1 pawhists.hbook ! u
hrin 0
zon 2 2
opt grid
1 SET *FON -60
2 SET BWID 4
3 SET BCOL 1.5
set mtyp 26
hi/pl 110 e
hi/pl 110 pl
zon 1 2 2 s
hi/op/add 110 110 120 0.5 0.
hi/op/add 110 110 130 0.25 0.
set htyp 245
hi/pl 110
set htyp 254
hi/pl //pawc/120 s
set htyp 253
hi/pl //PAWC/130 s
4 SET CHHE .35
4 SET TANG 25.
4 ITX 0.55 95. 'LEP Very Preliminary'
hrout 0

- All the text fonts used for HISTO/PLOT are set to -60.
- The line width for the boxes around the histograms is set to 4 pixels.
Like for the fonts it is possible to do SET *WID to set all the
width available in the SET command.
- The color of the shadow around the histograms is set to 5 (Yellow), it
appears grey on black and white PostScript printers.
- To access hardware fonts (ie PostScript fonts) the command ITX and
its related attributes should be used.

Last update: 96/05/24 17.20 Olivier.Couet@Cern.Ch