Ian Jauslin
summaryrefslogtreecommitdiff
blob: 8922c008c79a897a1fbd95cf1bd7ed328eea79a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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