aboutsummaryrefslogtreecommitdiffstats
path: root/doc/thesis/figures/tikz/qam-simulations-dynamic.tex
blob: c1be5f2477ec845610fe30375055fdfe56ca4b27 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
% vim: set ts=2 sw=2 noet:

\newcommand{\makeplot}[5]{%
	\hfill
	% \tikzset{external/force remake}
	\begin{tikzpicture}
		\begin{axis}[
				width  = {\linewidth / 3.3},
				height = {\linewidth / 3.3},
				grid = major,
				xmin = {-#4}, xmax = {#4},
				ymin = {-#4}, ymax = {#4},
				colormap name=viridis,
				#5
			]

			\addplot[only marks, scatter, point meta = \thisrow{samplenr}]
				table [x index = #2, y index = #3] {#1};
		\end{axis}
	\end{tikzpicture}
	\hfill
}

% -------------------------------------------------------------------

\noindent
\makeplot{figures/data/qam_sim_dynamic_grblock_nlos_etsi_doppler5.dat}{0}{1}{4}{
	ylabel = {Channel with ISI},
	yticklabel style = {
		text width = 3em,
		align = right,
	},
	title = {NLOS, \(\Delta f = \SI{5}{\hertz}\)},
}
%
\makeplot{figures/data/qam_sim_dynamic_grblock_los_etsi_doppler5_k5.dat}{0}{1}{4}{
	title = {LOS, \(\Delta f = \SI{5}{\hertz}, K = 5\)},
}
%
\makeplot{figures/data/qam_sim_dynamic_grblock_los_etsi_doppler70_k5.dat}{0}{1}{4}{
	title = {LOS, \(\Delta f = \SI{70}{\hertz}, K = 5\)},
}
\newline

% -------------------------------------------------------------------

\noindent
\makeplot{figures/data/qam_sim_dynamic_grblock_nlos_etsi_doppler5.dat}{2}{3}{4}{%
	ylabel = {Synchronized},
	yticklabel style = {
		text width = 3em,
		align = right,
	},
}
\makeplot{figures/data/qam_sim_dynamic_grblock_los_etsi_doppler5_k5.dat}{2}{3}{4}{}
\makeplot{figures/data/qam_sim_dynamic_grblock_los_etsi_doppler70_k5.dat}{2}{3}{4}{}
\newline

% -------------------------------------------------------------------

\noindent
\makeplot{figures/data/qam_sim_dynamic_grblock_nlos_etsi_doppler5.dat}{4}{5}{2}{%
	ylabel = {Equalized},
	yticklabel style = {
		text width = 3em,
		align = right,
	},
}
\makeplot{figures/data/qam_sim_dynamic_grblock_los_etsi_doppler5_k5.dat}{4}{5}{2}{}
\makeplot{figures/data/qam_sim_dynamic_grblock_los_etsi_doppler70_k5.dat}{4}{5}{2}{}
\newline

% -------------------------------------------------------------------

\noindent
\makeplot{figures/data/qam_sim_dynamic_grblock_nlos_etsi_doppler5.dat}{6}{7}{2}{%
	ylabel = {Locked},
	yticklabel style = {
		text width = 3em,
		align = right,
	},
}
\makeplot{figures/data/qam_sim_dynamic_grblock_los_etsi_doppler5_k5.dat}{6}{7}{2}{}
\makeplot{figures/data/qam_sim_dynamic_grblock_los_etsi_doppler70_k5.dat}{6}{7}{2}{}
\newline