set output 'cal_mag_a.ps' 
set term postscript color 'Helvetica,18'  
set style line 1 lt rgb 'red' lw 3  
set style line 2 lt rgb 'sea-green' lw 3  
set style line 3 lt rgb 'blue' lw 3  
set style line 4 lt rgb 'cyan' lw 3  
set style line 5 lt rgb 'violet' lw 3  
set grid 
set key top right outside 
set ylabel 'Approximate I-band mag in 7-pix aperture ' 
set xlabel 'Image index number ' 
set title 'V404 Cyg field, I 5-pix sky-sub flux, 12-inch, 2015 Jun 22 UT'
plot [380:470][13.0:10.0] 'mag_all.dat' using ($1+390):($7-3.12)   ls 1 t 'A'  ,    'mag_all.dat' using ($1+390):($14-3.12)   ls 3 t 'B'  ,    'mag_all.dat' using ($1+390):($21-3.12)   ls 4 t 'C'  ,    'mag_all.dat' using ($1+390):($28-3.12)   ls 2 t 'V404'  
set output 
quit 
