76 #include "ZprivateSub.h" 77 #include "../../Hist/Z90histc.h" 78 #include "../../Hist/Z90histo.h" 79 #include "../../Hist/Z90hist1.h" 93 character*256 filename
97 integer nbinhisto, status, webonly
98 integer kwhistreadascii
102 call getarg(4, buf, status)
104 call getarg(5, buf, status)
106 call getarg(6, filename, status)
109 open(fnot, file=filename,
110 * iostat=status, access=
'sequential',
111 * form=
'unformatted', action=
'read')
112 if(status .ne. 0 )
then 113 write(0,*)
' cannot open file =' 119 if(webonly .eq. 0)
then 122 read( fnot, end=100 ) histid0
123 if( histid0 .ne.
'#hist1' )
then 124 write(0,*)
' histogram is not 1D: ',histid0
139 read( fnot, end=100 ) histid0
140 if( histid0 .ne.
'#hist1' )
then 141 write(0,*)
' histogram is not 1-D: ',histid0
148 call proctime(h10, 6, nfraca, reduced,
159 write(0,*)
' unexpected EOF ' 162 entry proctimeascii(reduced, nfraca)
164 call getarg(4, buf, status)
166 call getarg(5, buf, status)
168 call getarg(6, filename, status)
171 open(fnot, file=filename,
172 * iostat=status, access=
'sequential',
173 * form=
'formatted', action=
'read')
174 if(status .ne. 0 )
then 175 write(0,*)
' cannot open file =' 180 if(webonly .eq. 0 )
then 184 nbinhisto=kwhistreadascii(h10, fnot)
185 if(nbinhisto .le. 0 )
then 186 write(0,*)
' ascii read failed' 200 nbinhisto=kwhistreadascii(h10, fnot)
201 if(nbinhisto .le. 0 )
then 202 write(0,*)
' ascii read failed' 209 call proctime(h10, 6, nfraca, reduced,
void kwhistd(struct histogram1 *h)
*Zfirst p fm *Zfirst p Zfirst p code
void kwhistr(struct histogram1 *h, FILE *bfnor, int icon)
void kwhists(struct histogram1 *h, float inorm)
subroutine proctime(h, fnotf, nfraca, reduced, idxr, idxf, code, layer)