[Wien] specific DOS plots

Elias Assmann elias.assmann at gmail.com
Thu Jul 17 07:51:44 UTC 2014


On 07/17/2014 04:20 AM, delamora wrote:
> plot  "BiRuO-U-afm.dos1evup" using 1:2 title "Total"  w l lt 1 lw 2, \
>        "BiRuO-U-afm.dos1evup" using 1:5 title "Ru"  w l lt 3 lw 2, \
>        "BiRuO-U-afm.dos1evup" using 1:6 title "Ru"  w l lt 4 lw 2, \
>        "BiRuO-U-afm.dos2evup" using 1:($2+$3+$4) title "O1"  w l lt 8 lw
> 2, \
>        "BiRuO-U-afm.dos1evup" using 1:($3+$4) title "Bi"  w l lt 2 lw 2

This is the most straightforward way, but note that the newest ‘tetra’ 
can also sum columns for you.  See the end of ‘SRC_templates/case.int’ 
for how to do that.

Of course you could also sum them with some script, e.g.

perl -lne '@x = split; $sum=0; $sum+=$_ for @x[1,2,3]; print 
join(qq(\t), $x[0], $sum)'

or …

-- 
Elias Assmann
Institute of Solid State Physics
Vienna University of Technology
<http://www.ifp.tuwien.ac.at/cms/>


More information about the Wien mailing list