master-thesis-tex/figs/interaction_orders/k_weights.tex

418 lines
7.8 KiB
TeX

% This file was created with tikzplotlib v0.10.1.
\begin{tikzpicture}
\definecolor{darkgray176}{RGB}{176,176,176}
\definecolor{darkorange25512714}{RGB}{255,127,14}
\definecolor{forestgreen4416044}{RGB}{44,160,44}
\definecolor{lightgray204}{RGB}{204,204,204}
\definecolor{steelblue31119180}{RGB}{31,119,180}
\begin{axis}[
height=\figH,
legend cell align={left},
legend style={fill opacity=0.8, draw opacity=1, text opacity=1, draw=lightgray204},
tick align=outside,
tick pos=left,
width=\figW,
x grid style={darkgray176},
xlabel={\(\displaystyle k\)},
xmin=-1, xmax=55,
xtick style={color=black},
xtick={-10,0,10,20,30,40,50,60},
xticklabels={
\(\displaystyle {\ensuremath{-}10}\),
\(\displaystyle {0}\),
\(\displaystyle {10}\),
\(\displaystyle {20}\),
\(\displaystyle {30}\),
\(\displaystyle {40}\),
\(\displaystyle {50}\),
\(\displaystyle {60}\)
},
y grid style={darkgray176},
ylabel={Weight},
ymin=-0.05, ymax=1.05,
ytick style={color=black},
ytick={-0.2,0,0.2,0.4,0.6,0.8,1,1.2},
yticklabels={
\(\displaystyle {\ensuremath{-}0.2}\),
\(\displaystyle {0.0}\),
\(\displaystyle {0.2}\),
\(\displaystyle {0.4}\),
\(\displaystyle {0.6}\),
\(\displaystyle {0.8}\),
\(\displaystyle {1.0}\),
\(\displaystyle {1.2}\)
}
]
\addplot [steelblue31119180, opacity=0.5, dashed, mark=*, mark size=1.5, mark options={solid}]
table {%
0 0.0249999761581421
1 0.25
2 0.75
3 1
4 0.75
5 0.340000033378601
6 0.111111164093018
7 0.0253968238830566
8 0.00476193428039551
9 0.000529050827026367
10 5.29289245605469e-05
};
\addlegendentry{$n=10$}
\addplot [steelblue31119180, dashed, mark=triangle*, mark size=1.5, mark options={solid}, forget plot]
table {%
0 0.0499999523162842
1 0.5
2 1
3 0.666666746139526
4 0.5
5 0.200000047683716
6 0.0666667222976685
7 0.0190476179122925
8 0.00238096714019775
9 0.000529050827026367
10 5.29289245605469e-05
};
\addplot [very thin, steelblue31119180, forget plot]
table {%
2 -0.05
2 1.05
};
\addplot [very thin, steelblue31119180, opacity=0.8, dotted, forget plot]
table {%
0 0.355555534362793
1 0.888888835906982
2 1
3 0.666666746139526
4 0.291666626930237
5 0.0874999761581421
6 0.0182291269302368
7 0.00260412693023682
8 0.000244140625
10 3.57627868652344e-07
};
\addplot [darkorange25512714, opacity=0.5, dashed, mark=*, mark size=1.5, mark options={solid}]
table {%
0 1.19209289550781e-07
1 6.55651092529297e-06
2 0.0001678466796875
3 0.00193548202514648
4 0.0127421617507935
5 0.0544009208679199
6 0.163242816925049
7 0.364151954650879
8 0.629874229431152
9 0.873747587203979
10 1
11 0.967962741851807
12 0.810124397277832
13 0.597890615463257
14 0.395845532417297
15 0.238527178764343
16 0.132342100143433
17 0.068213939666748
18 0.0328801870346069
19 0.0148934125900269
20 0.00636279582977295
21 0.0025712251663208
22 0.000985145568847656
23 0.00035858154296875
24 0.000124216079711914
25 4.10079956054688e-05
26 1.29938125610352e-05
27 3.93390655517578e-06
28 1.07288360595703e-06
29 3.57627868652344e-07
30 1.19209289550781e-07
31 0
32 0
33 0
34 0
35 0
36 0
37 0
38 0
39 0
40 0
41 0
42 0
43 0
44 0
45 0
46 0
47 0
48 0
49 0
50 0
51 0
52 0
53 0
54 0
55 0
};
\addlegendentry{$n=100$}
\addplot [darkorange25512714, dashed, mark=triangle*, mark size=1.5, mark options={solid}, forget plot]
table {%
0 2.38418579101562e-07
1 2.82526016235352e-05
2 0.000693082809448242
3 0.0073927640914917
4 0.043432354927063
5 0.159830808639526
6 0.399577140808105
7 0.717607975006104
8 0.964285731315613
9 1
10 0.899999976158142
11 0.745454549789429
12 0.559090852737427
13 0.38228440284729
14 0.245754241943359
15 0.141991376876831
16 0.0798701047897339
17 0.0396740436553955
18 0.0198370218276978
19 0.00858449935913086
20 0.00386297702789307
21 0.00147163867950439
22 0.000602006912231445
23 0.000209450721740723
24 7.62939453125e-05
25 2.44379043579102e-05
26 7.98702239990234e-06
27 2.38418579101562e-06
28 7.15255737304688e-07
29 2.38418579101562e-07
30 0
31 0
32 0
33 0
34 0
35 0
36 0
37 0
38 0
39 0
40 0
41 0
42 0
43 0
44 0
45 0
46 0
47 0
48 0
49 0
50 0
51 0
52 0
53 0
54 0
55 0
};
\addplot [very thin, darkorange25512714, forget plot]
table {%
9 -0.05
9 1.05
};
\addplot [very thin, darkorange25512714, opacity=0.8, dotted, forget plot]
table {%
0 0.000580668449401855
1 0.00574290752410889
2 0.0281146764755249
3 0.0908322334289551
4 0.217847585678101
5 0.413671016693115
6 0.647781610488892
7 0.860318899154663
8 0.98913049697876
9 1
10 0.899999976158142
11 0.728271722793579
12 0.534199237823486
13 0.357638120651245
14 0.219804286956787
15 0.124636292457581
16 0.0654853582382202
17 0.0320019721984863
18 0.0145943164825439
19 0.00622940063476562
20 0.0024951696395874
21 0.000940084457397461
23 0.000111937522888184
35 0
55 0
};
\addplot [forestgreen4416044, opacity=0.5, dashed, mark=*, mark size=1.5, mark options={solid}]
table {%
0 0
1 0
2 0
3 0
4 0
5 0
6 0
7 0
8 0
9 0
10 0
11 0
12 1.19209289550781e-07
13 5.96046447753906e-07
14 3.33786010742188e-06
15 1.50203704833984e-05
16 6.00814819335938e-05
17 0.000214576721191406
18 0.000684142112731934
19 0.00196325778961182
20 0.00509738922119141
21 0.0120389461517334
22 0.0259891748428345
23 0.051510214805603
24 0.0941257476806641
25 0.159199118614197
26 0.250152945518494
27 0.366474628448486
28 0.502268314361572
29 0.64611828327179
30 0.782642126083374
31 0.895461440086365
32 0.970715045928955
33 1
34 0.981852650642395
35 0.921454668045044
36 0.828873991966248
37 0.716553211212158
38 0.596835851669312
39 0.480110049247742
40 0.373818039894104
41 0.282280325889587
42 0.207098722457886
43 0.147854089736938
44 0.102858662605286
45 0.0698086023330688
46 0.046267032623291
47 0.0299707651138306
48 0.018989086151123
49 0.0117751359939575
50 0.00715017318725586
51 0.00425374507904053
52 0.00248038768768311
53 0.00141823291778564
54 0.000795364379882812
55 0.000437736511230469
};
\addlegendentry{$n=1000$}
\addplot [forestgreen4416044, dashed, mark=triangle*, mark size=1.5, mark options={solid}, forget plot]
table {%
0 0
1 0
2 0
3 0
4 0
5 0
6 0
7 0
8 0
9 0
10 0
11 1.19209289550781e-07
12 5.96046447753906e-07
13 3.814697265625e-06
14 1.87158584594727e-05
15 8.08238983154297e-05
16 0.000306367874145508
17 0.00102615356445312
18 0.00305962562561035
19 0.00817012786865234
20 0.0196491479873657
21 0.0427737236022949
22 0.0846637487411499
23 0.153002977371216
24 0.253411293029785
25 0.385995984077454
26 0.542449951171875
27 0.705408334732056
28 0.851168632507324
29 0.955414056777954
30 1
31 0.978147745132446
32 0.947580575942993
33 0.868847131729126
34 0.792184114456177
35 0.683395743370056
36 0.58847975730896
37 0.479197978973389
38 0.390924692153931
39 0.301357984542847
40 0.2335524559021
41 0.170892000198364
42 0.126134634017944
43 0.0880008935928345
44 0.0618672370910645
45 0.0412448644638062
46 0.0276758670806885
47 0.0176655054092407
48 0.0113353729248047
49 0.00694000720977783
50 0.00426578521728516
51 0.00250923633575439
52 0.0014798641204834
53 0.00083768367767334
54 0.000474691390991211
55 0.000258922576904297
};
\addplot [very thin, forestgreen4416044, forget plot]
table {%
30 -0.05
30 1.05
};
\addplot [very thin, forestgreen4416044, opacity=0.8, dotted, forget plot]
table {%
0 0
11 0.000470638275146484
12 0.00119972229003906
13 0.00281989574432373
14 0.00614845752716064
15 0.0124996900558472
16 0.0237993001937866
17 0.042604923248291
18 0.0719598531723022
19 0.115026473999023
20 0.174496412277222
21 0.251850366592407
22 0.346618890762329
23 0.455840349197388
24 0.573912382125854
25 0.692954778671265
26 0.803684711456299
27 0.896665334701538
28 0.96368408203125
29 0.998970150947571
30 1
31 0.967741966247559
32 0.906322717666626
33 0.822230935096741
34 0.723254084587097
36 0.511827707290649
37 0.412428498268127
38 0.323251724243164
39 0.246604442596436
40 0.183237314224243
41 0.132693767547607
42 0.093706488609314
43 0.0645678043365479
44 0.0434335470199585
45 0.0285377502441406
46 0.0183237791061401
47 0.0115031003952026
48 0.00706338882446289
49 0.00424432754516602
51 0.00143837928771973
54 0.000243544578552246
55 0.000129580497741699
};
\end{axis}
\end{tikzpicture}