plot data stars.dat # DWARFS (red) lines 1 10 read { i 3 j 4 a 5 b 6 c 7 } set nad = i+j set mgd = a+b+c # SUBGIANTS (green) lines 12 13 read { i 3 j 4 a 5 b 6 c 7 } set nasub = i+j set mgsub = a+b+c # GIANTS (blue) lines 15 25 read { i 3 j 4 a 5 b 6 c 7 } set nag = i+j set mgg = a+b+c # BRIGHT GIANTS (turquoise) lines 27 29 read { i 3 j 4 a 5 b 6 c 7 } set nab = i+j set mgb = a+b+c # SUPERGIANTS (black) lines 31 39 read { i 3 j 4 a 5 b 6 c 7 } set nas = i+j set mgs = a+b+c # read { f 3 g 4 l 5 m 6 n 7 } set naall=f+g set mgall=l+m+n lsq naall mgall naall qall # window 2 3 1 3 erase limits 0 7 0 10.5 box 1 5 4 4 ctype 3 expand 0.9 ptype 3 0 points nad mgd lsq naall mgall naall qall ctype 2 connect naall qall lsq nad mgd nad qd # connect nad qd set ad = $a set bd = $b # ctype 4 ptype 3 3 points nasub mgsub lsq nasub mgsub nasub qsub # connect nasub qsub set asub = $a set bsub = $b # ctype 5 ptype 4 0 points nag mgg lsq nag mgg nag qg # connect nag qg set ag = $a set bg = $b # ctype 6 ptype 5 2 points nab mgb lsq nab mgb nab qb # connect nab qb set ab = $a set bb = $b # ctype 2 ptype 6 3 points nas mgs lsq nas mgs nas qs # connect nas qs set as = $a set bs = $b # ctype 2 expand 0.9 ylabel EW(Na) (\AA) relocate 0.5 9.5 label All Stars # window 2 3 2 3 limits nad mgd ctype 2 box 1 5 4 4 ptype 6 3 points nad mgd ctype 3 connect nad qd ctype 2 ylabel EW(Na) (\AA) relocate 1.2 9.5 label Dwarfs # window 2 3 1 2 limits nasub mgsub ctype 2 box 1 5 4 4 ptype 6 3 points nasub mgsub ctype 4 connect nasub qsub ctype 2 ylabel EW(Na) (\AA) relocate 0.95 2.22 label Sub-giants # window 2 3 2 2 limits nag mgg ctype 2 box 1 5 4 4 ptype 6 3 points nag mgg ctype 5 connect nag qg ctype 2 ylabel EW(Na) (\AA) relocate 1.2 7 label Normal Giants # window 2 3 1 1 limits nab mgb ctype 2 box 1 5 4 4 ptype 6 3 points nab mgb ctype 6 connect nab qb ctype 2 relocate 2.8 7 label Bright Giants ylabel EW(Na) (\AA) xlabel EW(Mg) (\AA) # window 2 3 2 1 limits nas mgs ctype 2 box 1 5 4 4 ptype 6 3 points nas mgs ctype 2 connect nas qs relocate 0.9 6.2 label Supergiants ylabel EW(Na) (\AA) xlabel EW(Mg) (\AA) ctype 2 # ctype 2