aboutsummaryrefslogtreecommitdiffstats
path: root/doc/thesis/figures/tikz/qpsk-simulations-static.tex
blob: ebe79576db1761e30a816f8f587b1673b177e3ab (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
% vim: set ts=2 sw=2 noet:

\newcommand{\makeplot}[6]{%
	\hfill
	\begin{tikzpicture}
		\begin{axis}[
				width  = {\linewidth / 3.5},
				height = {\linewidth / 3.5},
				grid = major,
				xmin = {-#4}, xmax = {#4},
				ymin = {-#4}, ymax = {#4},
				#5
			]

			\addplot[only marks, #6] table[x index = #2, y index = #3] {#1};
		\end{axis}
	\end{tikzpicture}
	\hfill
}

\noindent
\makeplot{figures/data/qpsk_sim_static_firblock_nlos_halfsymb.dat}{0}{1}{4}{
	ylabel = {Channel with ISI},
	yticklabel style = {
		text width = 2.25em,
		align = right,
	},
	title = {1 Tap NLOS},
}{magenta!80!blue}
\makeplot{figures/data/qpsk_sim_static_firblock_los_halfsymb.dat}{0}{1}{4}{
	title = {1 Tap LOS},
}{magenta!80!blue}
\makeplot{figures/data/qpsk_sim_static_firblock_los_vec.dat}{0}{1}{4}{
	title = {4 Taps LOS},
}{magenta!80!blue}
\newline

\noindent
\makeplot{figures/data/qpsk_sim_static_firblock_nlos_halfsymb.dat}{2}{3}{4}{%
	ylabel = {Synchronized},
	yticklabel style = {
		text width = 2.25em,
		align = right,
	},
}{magenta!60!blue}
\makeplot{figures/data/qpsk_sim_static_firblock_los_halfsymb.dat}{2}{3}{4}{}{magenta!60!blue}
\makeplot{figures/data/qpsk_sim_static_firblock_los_vec.dat}{2}{3}{4}{}{magenta!60!blue}
\newline

\noindent
\makeplot{figures/data/qpsk_sim_static_firblock_nlos_halfsymb.dat}{4}{5}{1}{%
	ylabel = {Equalized},
	yticklabel style = {
		text width = 2.25em,
		align = right,
	},
}{magenta!40!blue}
\makeplot{figures/data/qpsk_sim_static_firblock_los_halfsymb.dat}{4}{5}{1}{}{magenta!40!blue}
\makeplot{figures/data/qpsk_sim_static_firblock_los_vec.dat}{4}{5}{1}{}{magenta!40!blue}
\newline

\noindent
\makeplot{figures/data/qpsk_sim_static_firblock_nlos_halfsymb.dat}{6}{7}{1}{%
	ylabel = {Locked},
	yticklabel style = {
		text width = 2.25em,
		align = right,
	},
}{magenta!20!blue}
\makeplot{figures/data/qpsk_sim_static_firblock_los_halfsymb.dat}{6}{7}{1}{}{magenta!20!blue}
\makeplot{figures/data/qpsk_sim_static_firblock_los_vec.dat}{6}{7}{1}{}{magenta!20!blue}
\newline