-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a function to calculate berry curvature for each band and k along…
… a kpath
- Loading branch information
1 parent
1efc495
commit 25d8c0f
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# requirement: gnuplot version>5.4 | ||
# Please open the data file to check the data: Berrycurvature_line.dat | ||
set terminal pdf enhanced color font ",24" | ||
set palette defined ( 0 "green", 5 "yellow", 10 "red" ) | ||
set output 'Berrycurvature_line.pdf' | ||
set style data linespoints | ||
unset key | ||
set pointsize 0.8 | ||
#set xtics font ",24" | ||
#set ytics font ",24" | ||
#set ylabel font ",24" | ||
set ylabel offset 0.5,0 | ||
set border lw 2 | ||
set xrange [0: 7.30156] | ||
emin= -0.110000 | ||
emax= 0.110000 | ||
set ylabel "Energy (eV)" | ||
set yrange [ emin : emax ] | ||
set xtics ("M " 0.00000,"K' " 3.05921,"G " 4.75615,"K " 6.45309,"M " 7.30156) | ||
set arrow from 3.05921, emin to 3.05921, emax nohead lw 2 | ||
set arrow from 4.75615, emin to 4.75615, emax nohead lw 2 | ||
set arrow from 6.45309, emin to 6.45309, emax nohead lw 2 | ||
# please comment the following lines to plot the fatband | ||
# uncomment the following lines to plot the fatband | ||
plot 'Berrycurvature_line.dat' u 1:2:5 w lp lw 2 pt 7 ps 0.2 lc palette, 0 w l lw 2 dt 2 | ||
# uncomment the following lines to plot the spin if necessary | ||
#plot 'Berrycurvature_line.dat u 1:2 w lp lw 2 pt 7 ps 0.2, \ | ||
#plot 'Berrycurvature_line.dat u 1:2:($3/6):($4/6) w vec |