Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jauslin <ian@jauslin.org>2022-06-14 16:32:34 +0200
committerIan Jauslin <ian@jauslin.org>2022-06-14 16:32:34 +0200
commitd254a3e3f495e9cd3110ae48020786466d850d57 (patch)
treec88e465b5bc2aff974daaa3617adf615a0b68880 /figs/bands.fig/bands.gnuplot
Initial commitv1.0
Diffstat (limited to 'figs/bands.fig/bands.gnuplot')
-rw-r--r--figs/bands.fig/bands.gnuplot33
1 files changed, 33 insertions, 0 deletions
diff --git a/figs/bands.fig/bands.gnuplot b/figs/bands.fig/bands.gnuplot
new file mode 100644
index 0000000..8922c00
--- /dev/null
+++ b/figs/bands.fig/bands.gnuplot
@@ -0,0 +1,33 @@
+# default output canvas size: 12.5cm x 8.75cm
+set term lua tikz size 8,6 standalone
+
+unset key
+
+unset xtics
+unset ytics
+unset ztics
+unset border
+
+unset colorbox
+
+set pointsize 1
+
+#set xrange [0:4*pi/3]
+#set yrange [-2*pi/sqrt(3):2*pi/sqrt(3)]
+
+set pm3d depthorder
+
+# make this odd and divisible by 7 to get the Fermi points
+set isosamples 49
+
+# rescale x and y components to render the Fermi points better
+# units of 2*pi/3
+set xrange [0:2]
+# units of 2*pi/(3*sqrt(3))
+set yrange [-3:3]
+
+set view 80,35
+
+splot sqrt(1+4*cos(pi*x)*cos(pi/3*y)+4*cos(pi/3*y)**2) w pm3d, -sqrt(1+4*cos(pi*x)*cos(pi/3*y)+4*cos(pi/3*y)**2) w pm3d
+
+#pause mouse close