#!/usr/local/bin/gnuplot -persist # Last modified: 2016/02/18 18:10 set terminal postscript eps enhanced color solid 28 lw 2 set output "MoS2_pdos.eps" set xlabel 'Energy (eV)' ef = 3.0515 #set xrange [-8:5] set yrange [0:10] plot \ 'MoS2.pdos_atm#1(Mo)_wfc#1(s)' using ($1-ef):2 title 'Mo 4s' w l,\ 'MoS2.pdos_atm#1(Mo)_wfc#2(s)' using ($1-ef):2 title 'Mo 5s' w l,\ 'MoS2.pdos_atm#1(Mo)_wfc#3(p)' using ($1-ef):2 title 'Mo 4p' w l,\ 'MoS2.pdos_atm#1(Mo)_wfc#4(p)' using ($1-ef):2 title 'Mo 5p' w l,\ 'MoS2.pdos_atm#1(Mo)_wfc#5(d)' using ($1-ef):2 title 'Mo 4d' w l,\ 'MoS2.pdos_atm#2(S)_wfc#1(s)' using ($1-ef):2 title 'S 3s' w l,\ 'MoS2.pdos_atm#2(S)_wfc#2(p)' using ($1-ef):2 title 'S 3p' w l