1
there_is_ps=`test -f PSCHARGE && echo 1 || echo 0`
2
there_is_pt=`test -f PTCHARGE && echo 1 || echo 0`
9
'AECHARGE' using 1:($2+$3-$4) title "AE valence charge"
11
if (there_is_ps == 1) \
12
replot 'PSCHARGE' using 1:($2+$3) title "PS valence charge"
14
if (there_is_pt == 1) \
15
replot 'PTCHARGE' using 1:($2+$3) title "PT valence charge"