Ian Jauslin
summaryrefslogtreecommitdiff
blob: 7461923542422d548a9d3981a7c7c0d7d5326397 (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
set ylabel "energy relative error"
set xlabel "$\\rho$"

set xtics 1e-6, 100, 100
set xtics add ("$10^{-6}$" 0.000001, "$10^{-4}$" 0.0001, "$10^{-2}$" 0.01, "$1$" 1.0, "$10^2$" 100)
unset mxtics

set xrange [0.000001:100]

# default output canvas size: 12.5cm x 8.75cm
set term lua tikz size 8,6 standalone

set key off


# set linestyle
set style line 1 linetype rgbcolor "#4169E1" linewidth 2
set style line 2 linetype rgbcolor "#DC143C" linewidth 2
set style line 3 linetype rgbcolor "#32CD32" linewidth 2
set style line 4 linetype rgbcolor "#4B0082" linewidth 2
set style line 5 linetype rgbcolor "#DAA520" linewidth 2

set pointsize 1

set logscale xy

plot \
 "simpleq2.dat" using 1:($3<1e-5 ? abs($2-$5)/$5 : 1/0) with lp ls 1 ,\
 "bigeq2.dat" using 1:($3<1e-5 ? abs($2-$5)/$5 : 1/0) with lp ls 4 ,\
 "2020-08-27+2.dat" using 1:(abs($4-$2)/$2) with lp ls 2