summaryrefslogtreecommitdiff
path: root/report/figures/tracy-widom-approx/plot.gnu
blob: a2e5194fd8b3e660ecab1aa4f35c2c79a62fe768 (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 term x11 persist
set term cairolatex pdf size 6in,3in
set output 'tracy_widom.tex'
set linetype 1 lc rgb '#E41A1C' # red
set linetype 2 lc rgb '#377EB8' # blue
set linetype 3 lc rgb '#4DAF4A' # green

set key samplen 2
set grid
set xlabel "x"
set ylabel "p(x)"
set lmargin at screen 0.15
set rmargin at screen 0.85


plot 'tracy_widom.txt' using 1:2 with lines title '$\beta=1$', \
    'tracy_widom.txt' using 1:3 with lines title '$\beta=2$', \
    'tracy_widom.txt' using 1:4 with lines title '$\beta=4$'

set term cairolatex pdf size 6in,3in
set output 'tracy_widom_compare.tex'
set key samplen 2
set grid
set xlabel "x"
set ylabel "p(x)"
set lmargin at screen 0.15
set rmargin at screen 0.85


plot 'tracy_widom_normal.txt' using 1:2 with lines title 'TW\textsubscript{1}', \
    'tracy_widom_normal.txt' using 1:3 with lines title 'Normal' dt 2