set output 'solar_like_a.ps' 
set term postscript color enhanced 'Helvetica,18' size 12,8  
set style line 1 lt rgb 'red' lw 2  
set style line 2 lt rgb 'sea-green' lw 2  
set style line 3 lt rgb 'blue' lw 2  
set style line 4 lt rgb 'cyan' lw 3  
set style line 5 lt rgb 'violet' lw 3  
set grid 
set key at 6039,6300 
set ylabel 'Flux (arbitrary scale)' 
set xlabel 'Wavelength (Angstroms)' 
set title 'Spectrum of Sun and two solar twins ' 
plot [6025:6065][6000:8000]    'solar_spec.dat' using 1:($2*0.80)     with lines ls 1     t 'Sun'  ,   'hd183658_all.dat' using ($1*(1-0.00046)):($2*2.05e15)     with lines ls 2     t 'HD 183658'  ,   'hd78660_all.dat' using ($1*(1-0.00003)):($2*0.90)     with lines ls 3     t 'HD 78660'  
set output 
quit 
