Ian Jauslin
summaryrefslogtreecommitdiff
blob: 51f894982b1d54f295771688d8565d6b5531d668 (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
34
35
36
37
38
39
40
41
42
#!/usr/bin/env gnuplot

datafile="bands_second.dat"
# output
outfile="bands_second_plot.tex"
set output outfile

# terminal
set term lua tikz size 10,6 standalone tightboundingbox

# format axes
set key off
unset colorbox
unset border
unset xtics
unset ytics
unset ztics

# colors
## 4169E1 (pastel blue)
## FF143C (bright red)
## 32CD32 (bright green)
## DAA520 (ochre)

# angle camera
set view 90,50

# style for mesh lines
set style line 1 linetype rgbcolor "#000000"

# splot mode
set pm3d hidden3d depthorder

# set colors
set palette defined (0 "#DAA520",0.33 "#FF143C", 0.66 "#32CD32",1 "#4169E1")

# plot
splot datafile using 1:2:3:4 with pm3d linestyle 1 , \
 datafile using 5:6:7:8 with pm3d linestyle 1 , \
 datafile using 9:10:11:12 with pm3d linestyle 1 , \
 datafile using 13:14:15:16 with pm3d linestyle 1