aboutsummaryrefslogtreecommitdiffstats
path: root/doc/thesis/figures/tikz
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-12-19 02:50:36 +0100
committerNao Pross <np@0hm.ch>2021-12-19 02:50:36 +0100
commit7feed106ff37986e85a82c77acddf418062b38c7 (patch)
treec9c49b7fff0c307c54752eb80d73271a6246da6b /doc/thesis/figures/tikz
parentMerge remote-tracking branch 'origin/master' (diff)
downloadFading-7feed106ff37986e85a82c77acddf418062b38c7.tar.gz
Fading-7feed106ff37986e85a82c77acddf418062b38c7.zip
Add constellation plots for dynamic model
Diffstat (limited to '')
-rw-r--r--doc/thesis/figures/tikz/qpsk-simulations-dynamic.tex72
-rw-r--r--doc/thesis/figures/tikz/qpsk-simulations-static.tex35
2 files changed, 90 insertions, 17 deletions
diff --git a/doc/thesis/figures/tikz/qpsk-simulations-dynamic.tex b/doc/thesis/figures/tikz/qpsk-simulations-dynamic.tex
index 5806d42..4d01c92 100644
--- a/doc/thesis/figures/tikz/qpsk-simulations-dynamic.tex
+++ b/doc/thesis/figures/tikz/qpsk-simulations-dynamic.tex
@@ -1,19 +1,83 @@
% vim: set ts=2 sw=2 noet:
-\newcommand{\makeplot}[6]{%
+\newcommand{\makeplot}[5]{%
\hfill
\begin{tikzpicture}
\begin{axis}[
- width = {\linewidth / 3.5},
- height = {\linewidth / 3.5},
+ 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, #6] table[x index = #2, y index = #3] {#1};
+ \addplot[only marks, scatter] table [x index = #2, y index = #3] {#1};
\end{axis}
\end{tikzpicture}
\hfill
}
+
+% -------------------------------------------------------------------
+
+\noindent
+\makeplot{figures/data/qpsk_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/qpsk_sim_dynamic_grblock_los_etsi_doppler5_k5.dat}{0}{1}{4}{
+ title = {LOS, \(\Delta f = \SI{5}{\hertz}, K = 5\)},
+}
+%
+\makeplot{figures/data/qpsk_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/qpsk_sim_dynamic_grblock_nlos_etsi_doppler5.dat}{2}{3}{4}{%
+ ylabel = {Synchronized},
+ yticklabel style = {
+ text width = 3em,
+ align = right,
+ },
+}
+\makeplot{figures/data/qpsk_sim_dynamic_grblock_los_etsi_doppler5_k5.dat}{2}{3}{4}{}
+\makeplot{figures/data/qpsk_sim_dynamic_grblock_los_etsi_doppler70_k5.dat}{2}{3}{4}{}
+\newline
+
+% -------------------------------------------------------------------
+
+\noindent
+\makeplot{figures/data/qpsk_sim_dynamic_grblock_nlos_etsi_doppler5.dat}{4}{5}{2}{%
+ ylabel = {Equalized},
+ yticklabel style = {
+ text width = 3em,
+ align = right,
+ },
+}
+\makeplot{figures/data/qpsk_sim_dynamic_grblock_los_etsi_doppler5_k5.dat}{4}{5}{2}{}
+\makeplot{figures/data/qpsk_sim_dynamic_grblock_los_etsi_doppler70_k5.dat}{4}{5}{2}{}
+\newline
+
+% -------------------------------------------------------------------
+
+\noindent
+\makeplot{figures/data/qpsk_sim_dynamic_grblock_nlos_etsi_doppler5.dat}{6}{7}{2}{%
+ ylabel = {Locked},
+ yticklabel style = {
+ text width = 3em,
+ align = right,
+ },
+}
+\makeplot{figures/data/qpsk_sim_dynamic_grblock_los_etsi_doppler5_k5.dat}{6}{7}{2}{}
+\makeplot{figures/data/qpsk_sim_dynamic_grblock_los_etsi_doppler70_k5.dat}{6}{7}{2}{}
+\newline
diff --git a/doc/thesis/figures/tikz/qpsk-simulations-static.tex b/doc/thesis/figures/tikz/qpsk-simulations-static.tex
index ebe7957..1afb134 100644
--- a/doc/thesis/figures/tikz/qpsk-simulations-static.tex
+++ b/doc/thesis/figures/tikz/qpsk-simulations-static.tex
@@ -1,11 +1,10 @@
% vim: set ts=2 sw=2 noet:
-
\newcommand{\makeplot}[6]{%
\hfill
\begin{tikzpicture}
\begin{axis}[
- width = {\linewidth / 3.5},
- height = {\linewidth / 3.5},
+ width = {\linewidth / 3.3},
+ height = {\linewidth / 3.3},
grid = major,
xmin = {-#4}, xmax = {#4},
ymin = {-#4}, ymax = {#4},
@@ -18,28 +17,34 @@
\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,
+ text width = 3em,
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,
+ text width = 3em,
align = right,
},
}{magenta!60!blue}
@@ -47,27 +52,31 @@
\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}{%
+\makeplot{figures/data/qpsk_sim_static_firblock_nlos_halfsymb.dat}{4}{5}{2}{%
ylabel = {Equalized},
yticklabel style = {
- text width = 2.25em,
+ text width = 3em,
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}
+\makeplot{figures/data/qpsk_sim_static_firblock_los_halfsymb.dat}{4}{5}{2}{}{magenta!40!blue}
+\makeplot{figures/data/qpsk_sim_static_firblock_los_vec.dat}{4}{5}{2}{}{magenta!40!blue}
\newline
+% -------------------------------------------------------------------
+
\noindent
-\makeplot{figures/data/qpsk_sim_static_firblock_nlos_halfsymb.dat}{6}{7}{1}{%
+\makeplot{figures/data/qpsk_sim_static_firblock_nlos_halfsymb.dat}{6}{7}{2}{%
ylabel = {Locked},
yticklabel style = {
- text width = 2.25em,
+ text width = 3em,
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}
+\makeplot{figures/data/qpsk_sim_static_firblock_los_halfsymb.dat}{6}{7}{2}{}{magenta!20!blue}
+\makeplot{figures/data/qpsk_sim_static_firblock_los_vec.dat}{6}{7}{2}{}{magenta!20!blue}
\newline