#!/usr/local/bin/gnuplot -persist # Last modified: 2016/02/19 05:34 set terminal postscript eps enhanced color solid 28 lw 2 set output "Fe_pdos.eps" set xlabel 'Energy (eV)' ef = 17.4295 set xrange [-8:5] #set yrange [0:10] set key left top plot \ 'Fe.pdos_tot' using ($1-ef):2 title 'up' w l,\ 'Fe.pdos_tot' using ($1-ef):3 title 'down' w l,\ 'Fe.pdos_atm#1(Fe)_wfc#5(d)' using ($1-ef):2 title 'Fe 3d up' w l,\ 'Fe.pdos_atm#1(Fe)_wfc#5(d)' using ($1-ef):3 title 'Fe 3d down' w l