set output './hr_a.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 'Absolute G Magnitude' 
set xlabel 'Color (BP - RP) ' 
set datafile separator ',' 
set title 'Gaia stars with parallax values near the peak ' 
plot [-0.5:3.0][10:-5]  './query_h.csv' using ($3):($4)         with points ls 1 pt 3 ps 0.2 t ''  
set output 
quit 
