Debian Codegraph @

commissioning/diags/plottext.pro

raw
1 pro plottext,file
2
3 record=''
4 get_lun, filein
5 openr,filein,file
6
7 plot,[0,1],[0,1],/nodata,xstyle=4,ystyle=4,title=file,charsize=0.5
8
9 ypos=1
10 yinc=.02
11 iy=1
12
13 while (not eof(filein)) do begin
14
15 readf,filein,record
16 xyouts,[0],[1-iy*yinc],record,charsize=0.5
17 iy=iy+1
18 endwhile
19
20 free_lun,filein
21 end