#绘制project band
#K-Label Coordinate of high-symmetry k-point in band-structure plots
# GAMMA 0.000
# M 1.095
# K 1.727
# GAMMA 2.992
Vac=0.3660-0.5188/2 ####将E=0放在VBM和CBM中间
xmin=0
xmax=1.897
ymin=-1
ymax=1
set xrange [xmin:xmax]
set yrange [ymin:ymax]
#M=0.000
K=0.632
set arrow 1 from xmin,0 to xmax,0 nohead dashty 2
set arrow 2 from K, ymin to K, ymax nohead dashty 2
#set arrow 3 from 0, 1.9 to 3.110,1.9 nohead dashty 2
set xtics ("M" 0.00000,"K" 0.632,"{/symbol G}" 1.897)
set ylabel 'E (eV)'
set xtics nomirror ###右上无刻度线
set ytics nomirror
set xlabel font "Times New Roman,25" offset 0,0.5
set ylabel font "Times New Roman,25" offset 0.1,0
set xtics font "Times New Roman,18"
set ytics font "Times New Roman,18"
set key font "Times New Roman, 18"
set key outside
set key right top center
plot\ #### \ 作用:将多行连接起来
'PBAND_A2_UP.dat' u 1:($2+Vac):($9/30) w circles linewidth 2 lc rgb 'blue' title 'V_{1}-d_{z^{2}}', \
'PBAND_A2_UP.dat' u 1:($2+Vac):($7/30) w circles linewidth 2 lc rgb 'red' title 'V_{1}-d_{xy}',\
'PBAND_A1_UP.dat' u 1:($2+Vac):($9/30) w circles linewidth 2 lc rgb 'yellow' title 'V_{2}-d_{z^{2}}',\
'PBAND_A1_UP.dat' u 1:($2+Vac):($7/30) w circles linewidth 2 lc rgb 'green' title 'V_{2}-d_{xy}',\
'PBAND_A1_UP.dat' u 1:($2+Vac) w l lw 1 lc rgb 'black' notitle
PBAND_A1_UP.dat是project band 文件