Ian Jauslin
summaryrefslogtreecommitdiff
blob: 28455187762d80fd074d53b84594ccbcf24f6a4f (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
#!/usr/bin/env gnuplot

datafile="bands_third.dat"
# output
outfile="bands_third_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
## FF143C (bright red)
## 32CD32 (bright green)

# angle camera
set view 80,50

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

# splot mode
set pm3d hidden3d depthorder

# set colors
set palette defined (0 "#FF143C", 1 "#32CD32")

# set data range
set zrange [-0.0001:0.0001]

# plot
splot datafile using 1:2:3:4 with pm3d linestyle 1 , \
 datafile using 5:6:7:8 with pm3d linestyle 1