Read histograms from file and plot
1 HISTOGRAM/FILE 1 PAWHISTS.HBOOK 2 HRIN * 3 LDIR 3 HI/LIST 5 ZON 2 2 hi/pl 100 set htyp 244 hi/pl 110 5 ZONE 1 2 2 'S' hi/plot 200 4 CLOSE 1 6 HI/DEL 100,200
Note also:
When a list of parameters (separated by ``,'') is given PAW execute the invoked command for each parameter in the list.HELP of HISTOGRAM/DELETE
* HISTOGRAM/DELETE ID ID C 'Histogram Identifier' Loop Delete histogram/Ntuple ID in Current Directory (memory). If ID=0 delete all histograms and Ntuples. To delete histograms in disk files use command HIO/HSCRATCH.
Output of LDIR
************** Directory ===> //LUN1 <=== Created 941121/1116 Modified 941208/1413 ===> List of objects HBOOK-ID VARIABLE CYCLE DATE/TIME NDATA 100 0 2 941121/1116 151 110 0 2 941121/1116 85 200 0 2 941121/1116 780 Number of records = 5 Number of megawords = 0 + 4250 words Per cent of directory quota used = .016 Per cent of file used = .016 Blocking factor = 23.164
Output of HIST/LIST before HISTOGRAM/DELETE
===> Directory : 100 (1) HTFUN1.F 110 (1) Test 1-dim Histo 200 (2) HTFUN2
Output of HIST/LIST after HISTOGRAM/DELETE
===> Directory : 110 (1) Test 1-dim Histo