set output './hr_A_log_slope.ps' 
set term postscript color enhanced '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 
set ylabel 'Luminosity' 
set xlabel 'Temperature' 
set title 'Gaia stars within 10 parsecs' 
plot [3.9:3.4][-4.0:1.0] './calc_gaia_nearby_A.out'   using (log10($7)):(log10(10**(0.4*((4.8-$5)))))  with points pt 6 ps 0.8 t ''  ,  -16+(4.0*x) t 'slope 4.0'  ,  -30+(8.0*x) t 'slope 8.0'  
set output 
quit 
