set output 'curve_mag_a.ps' 
set term postscript color enhanced 
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 
set ylabel 'Intensity' 
set xlabel 'Julian Date - 2459600 ' 
set title 'Light curve in magnitude units '
plot [][15:12] 'mag_a.dat' using ($1-2459600):($2)       ls 1 pt 3 ps 0.3 t 'A'  ,          'mag_a.dat' using ($1-2459600):($3)       ls 2 pt 4 ps 0.3 t 'B'  ,          'mag_a.dat' using ($1-2459600):($4)       ls 3 pt 6 ps 0.4 t 'C'  
set output 
quit 
