set output 'diff_b_closeup.ps' 
set term postscript color enhanced 'Helvtica,18'  
set grid 
set key top right 
set xlabel 'Image number' 
set ylabel 'Magnitude relative to A' 
set title 'Differential magnitude of star B relative to A '
plot [-5:50][1.4:0.9] 'hw/hw_diff.dat' using ($1):($4-300)    with points pt 1 lw 4 t ''  ,       'hw/hw_diff.dat' using ($1):($2-300)    with points pt 3 lw 4 t ''  ,       'hw/hw_diff.dat' using ($1):($3)    with points pt 5 lw 4 t ''  
set output 
quit 
