Ian Jauslin
summaryrefslogtreecommitdiff
blob: e0facb10ae7ef79d54e1e8ba5a8df01eb839ba57 (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
set ylabel offset 5,0 "$M_t-\\mu_t$"
set xlabel "$\\frac{t\\omega}{2\\pi}$"

set xtics add("10" 10, "20" 20, "30" 30, "40" 40)
set mxtics 81
set ytics add ("$10^{-5}$" 0.00001, "$10^{-4}$" 0.0001, "$10^{-3}$" 0.001)

set xrange [10:50]
set yrange [0.00007:0.0015]

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

# no key
set key off

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

set pointsize 0.6

# logscale
set logscale xy

# fit
f(x)=-1.5*x+b

fit [1:] f(x) "decay.dat" u (log10($1)):(log10($3-$2)) via b

plot 10**f(log10(x)) linestyle 2, "decay.dat" using 1:($3-$2) with points linestyle 1