From 63981af99da344c4b736ca5740179ec24a3d6d2d Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sat, 18 Dec 2021 16:00:10 +0100 Subject: Reorganize plots --- .../qpsk-sim-constellations-dynamic-exp-NLOS-5.tex | 75 --------------------- .../tikz/qpsk-sim-constellations-dynamic.tex | 75 --------------------- .../qpsk-sim-constellations-static-symb-NLOS.tex | 74 --------------------- .../qpsk-sim-constellations-static-symb-vec.tex | 74 --------------------- .../tikz/qpsk-sim-constellations-static-symb.tex | 74 --------------------- .../tikz/qpsk-sim-constellations-static.tex | 75 --------------------- .../qpsk-sim-constellations-without-effects.tex | 75 --------------------- .../figures/tikz/qpsk-simulations-dynamic.tex | 77 ++++++++++++++++++++++ .../figures/tikz/qpsk-simulations-static.tex | 77 ++++++++++++++++++++++ 9 files changed, 154 insertions(+), 522 deletions(-) delete mode 100644 doc/thesis/figures/tikz/qpsk-sim-constellations-dynamic-exp-NLOS-5.tex delete mode 100644 doc/thesis/figures/tikz/qpsk-sim-constellations-dynamic.tex delete mode 100644 doc/thesis/figures/tikz/qpsk-sim-constellations-static-symb-NLOS.tex delete mode 100644 doc/thesis/figures/tikz/qpsk-sim-constellations-static-symb-vec.tex delete mode 100644 doc/thesis/figures/tikz/qpsk-sim-constellations-static-symb.tex delete mode 100644 doc/thesis/figures/tikz/qpsk-sim-constellations-static.tex delete mode 100644 doc/thesis/figures/tikz/qpsk-sim-constellations-without-effects.tex create mode 100644 doc/thesis/figures/tikz/qpsk-simulations-dynamic.tex create mode 100644 doc/thesis/figures/tikz/qpsk-simulations-static.tex (limited to 'doc/thesis/figures/tikz') diff --git a/doc/thesis/figures/tikz/qpsk-sim-constellations-dynamic-exp-NLOS-5.tex b/doc/thesis/figures/tikz/qpsk-sim-constellations-dynamic-exp-NLOS-5.tex deleted file mode 100644 index 4afaa09..0000000 --- a/doc/thesis/figures/tikz/qpsk-sim-constellations-dynamic-exp-NLOS-5.tex +++ /dev/null @@ -1,75 +0,0 @@ -% vim: set ts=2 sw=2 noet: -\begin{tikzpicture} - \begin{axis}[ - title = {Channel with ISI}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -5, xmax = 5, - ymin = -5, ymax = 5, - ] - - \addplot[magenta, only marks] table[x index = 0, y index = 1] - {figures/data/qpsk_sim_constellations_dynamic_exp_NLOS_5.dat}; - \end{axis} -\end{tikzpicture} -\hspace{5mm} -\begin{tikzpicture} - \begin{axis}[ - title = {Synchronized}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -5, xmax = 5, - ymin = -5, ymax = 5, - ] - - \addplot[magenta!80!blue, only marks] table[x index = 2, y index = 3] - {figures/data/qpsk_sim_constellations_dynamic_exp_NLOS_5.dat}; - \end{axis} -\end{tikzpicture} - -\vspace{5mm} - -\begin{tikzpicture} - \begin{axis}[ - title = {Equalized}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -1.5, xmax = 1.5, - ymin = -1.5, ymax = 1.5, - ] - - \addplot[magenta!50!blue, only marks] table[x index = 4, y index = 5] - {figures/data/qpsk_sim_constellations_dynamic_exp_NLOS_5.dat}; - \end{axis} -\end{tikzpicture} -\hspace{5mm} -\begin{tikzpicture} - \begin{axis}[ - title = {Locked}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -1.5, xmax = 1.5, - ymin = -1.5, ymax = 1.5, - ] - - \addplot[magenta!30!blue, only marks] table[x index = 6, y index = 7] - {figures/data/qpsk_sim_constellations_dynamic_exp_NLOS_5.dat}; - \end{axis} -\end{tikzpicture} - diff --git a/doc/thesis/figures/tikz/qpsk-sim-constellations-dynamic.tex b/doc/thesis/figures/tikz/qpsk-sim-constellations-dynamic.tex deleted file mode 100644 index 87e447f..0000000 --- a/doc/thesis/figures/tikz/qpsk-sim-constellations-dynamic.tex +++ /dev/null @@ -1,75 +0,0 @@ -% vim: set ts=2 sw=2 noet: -\begin{tikzpicture} - \begin{axis}[ - title = {Channel with ISI}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -5, xmax = 5, - ymin = -5, ymax = 5, - ] - - \addplot[magenta, only marks] table[x index = 0, y index = 1] - {figures/data/qpsk_sim_constellations_dynamic.dat}; - \end{axis} -\end{tikzpicture} -\hspace{5mm} -\begin{tikzpicture} - \begin{axis}[ - title = {Synchronized}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -5, xmax = 5, - ymin = -5, ymax = 5, - ] - - \addplot[magenta!80!blue, only marks] table[x index = 2, y index = 3] - {figures/data/qpsk_sim_constellations_dynamic.dat}; - \end{axis} -\end{tikzpicture} - -\vspace{5mm} - -\begin{tikzpicture} - \begin{axis}[ - title = {Equalized}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -1.5, xmax = 1.5, - ymin = -1.5, ymax = 1.5, - ] - - \addplot[magenta!50!blue, only marks] table[x index = 4, y index = 5] - {figures/data/qpsk_sim_constellations_dynamic.dat}; - \end{axis} -\end{tikzpicture} -\hspace{5mm} -\begin{tikzpicture} - \begin{axis}[ - title = {Locked}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -1.5, xmax = 1.5, - ymin = -1.5, ymax = 1.5, - ] - - \addplot[magenta!30!blue, only marks] table[x index = 6, y index = 7] - {figures/data/qpsk_sim_constellations_dynamic.dat}; - \end{axis} -\end{tikzpicture} - diff --git a/doc/thesis/figures/tikz/qpsk-sim-constellations-static-symb-NLOS.tex b/doc/thesis/figures/tikz/qpsk-sim-constellations-static-symb-NLOS.tex deleted file mode 100644 index 16e966a..0000000 --- a/doc/thesis/figures/tikz/qpsk-sim-constellations-static-symb-NLOS.tex +++ /dev/null @@ -1,74 +0,0 @@ -% vim: set ts=2 sw=2 noet: -\begin{tikzpicture} - \begin{axis}[ - title = {Channel with ISI}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -3, xmax = 3, - ymin = -3, ymax = 3, - ] - - \addplot[magenta, only marks] table[x index = 0, y index = 1] - {figures/data/qpsk_sim_constellations_static_symb_NLOS.dat}; - \end{axis} -\end{tikzpicture} -\hspace{5mm} -\begin{tikzpicture} - \begin{axis}[ - title = {Synchronized}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -3, xmax = 3, - ymin = -3, ymax = 3, - ] - - \addplot[magenta!80!blue, only marks] table[x index = 2, y index = 3] - {figures/data/qpsk_sim_constellations_static_symb_NLOS.dat}; - \end{axis} -\end{tikzpicture} - -\vspace{5mm} - -\begin{tikzpicture} - \begin{axis}[ - title = {Equalized}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -1.5, xmax = 1.5, - ymin = -1.5, ymax = 1.5, - ] - - \addplot[magenta!50!blue, only marks] table[x index = 4, y index = 5] - {figures/data/qpsk_sim_constellations_static_symb_NLOS.dat}; - \end{axis} -\end{tikzpicture} -\hspace{5mm} -\begin{tikzpicture} - \begin{axis}[ - title = {Locked}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -1.5, xmax = 1.5, - ymin = -1.5, ymax = 1.5, - ] - - \addplot[magenta!30!blue, only marks] table[x index = 6, y index = 7] - {figures/data/qpsk_sim_constellations_static_symb_NLOS.dat}; - \end{axis} -\end{tikzpicture} diff --git a/doc/thesis/figures/tikz/qpsk-sim-constellations-static-symb-vec.tex b/doc/thesis/figures/tikz/qpsk-sim-constellations-static-symb-vec.tex deleted file mode 100644 index 6095378..0000000 --- a/doc/thesis/figures/tikz/qpsk-sim-constellations-static-symb-vec.tex +++ /dev/null @@ -1,74 +0,0 @@ -% vim: set ts=2 sw=2 noet: -\begin{tikzpicture} - \begin{axis}[ - title = {Channel with ISI}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -3, xmax = 3, - ymin = -3, ymax = 3, - ] - - \addplot[magenta, only marks] table[x index = 0, y index = 1] - {figures/data/qpsk_sim_constellations_static_symb_vec.dat}; - \end{axis} -\end{tikzpicture} -\hspace{5mm} -\begin{tikzpicture} - \begin{axis}[ - title = {Synchronized}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -3, xmax = 3, - ymin = -3, ymax = 3, - ] - - \addplot[magenta!80!blue, only marks] table[x index = 2, y index = 3] - {figures/data/qpsk_sim_constellations_static_symb_vec.dat}; - \end{axis} -\end{tikzpicture} - -\vspace{5mm} - -\begin{tikzpicture} - \begin{axis}[ - title = {Equalized}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -1.5, xmax = 1.5, - ymin = -1.5, ymax = 1.5, - ] - - \addplot[magenta!50!blue, only marks] table[x index = 4, y index = 5] - {figures/data/qpsk_sim_constellations_static_symb_vec.dat}; - \end{axis} -\end{tikzpicture} -\hspace{5mm} -\begin{tikzpicture} - \begin{axis}[ - title = {Locked}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -1.5, xmax = 1.5, - ymin = -1.5, ymax = 1.5, - ] - - \addplot[magenta!30!blue, only marks] table[x index = 6, y index = 7] - {figures/data/qpsk_sim_constellations_static_symb_vec.dat}; - \end{axis} -\end{tikzpicture} diff --git a/doc/thesis/figures/tikz/qpsk-sim-constellations-static-symb.tex b/doc/thesis/figures/tikz/qpsk-sim-constellations-static-symb.tex deleted file mode 100644 index 97c04d4..0000000 --- a/doc/thesis/figures/tikz/qpsk-sim-constellations-static-symb.tex +++ /dev/null @@ -1,74 +0,0 @@ -% vim: set ts=2 sw=2 noet: -\begin{tikzpicture} - \begin{axis}[ - title = {Channel with ISI}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -3, xmax = 3, - ymin = -3, ymax = 3, - ] - - \addplot[magenta, only marks] table[x index = 0, y index = 1] - {figures/data/qpsk_sim_constellations_static_symb.dat}; - \end{axis} -\end{tikzpicture} -\hspace{5mm} -\begin{tikzpicture} - \begin{axis}[ - title = {Synchronized}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -3, xmax = 3, - ymin = -3, ymax = 3, - ] - - \addplot[magenta!80!blue, only marks] table[x index = 2, y index = 3] - {figures/data/qpsk_sim_constellations_static_symb.dat}; - \end{axis} -\end{tikzpicture} - -\vspace{5mm} - -\begin{tikzpicture} - \begin{axis}[ - title = {Equalized}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -1.5, xmax = 1.5, - ymin = -1.5, ymax = 1.5, - ] - - \addplot[magenta!50!blue, only marks] table[x index = 4, y index = 5] - {figures/data/qpsk_sim_constellations_static_symb.dat}; - \end{axis} -\end{tikzpicture} -\hspace{5mm} -\begin{tikzpicture} - \begin{axis}[ - title = {Locked}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -1.5, xmax = 1.5, - ymin = -1.5, ymax = 1.5, - ] - - \addplot[magenta!30!blue, only marks] table[x index = 6, y index = 7] - {figures/data/qpsk_sim_constellations_static_symb.dat}; - \end{axis} -\end{tikzpicture} diff --git a/doc/thesis/figures/tikz/qpsk-sim-constellations-static.tex b/doc/thesis/figures/tikz/qpsk-sim-constellations-static.tex deleted file mode 100644 index 3c2a80c..0000000 --- a/doc/thesis/figures/tikz/qpsk-sim-constellations-static.tex +++ /dev/null @@ -1,75 +0,0 @@ -% vim: set ts=2 sw=2 noet: -\begin{tikzpicture} - \begin{axis}[ - title = {Channel with ISI}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -5, xmax = 5, - ymin = -5, ymax = 5, - ] - - \addplot[magenta, only marks] table[x index = 0, y index = 1] - {figures/data/qpsk_sim_constellations_static.dat}; - \end{axis} -\end{tikzpicture} -\hspace{5mm} -\begin{tikzpicture} - \begin{axis}[ - title = {Synchronized}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -5, xmax = 5, - ymin = -5, ymax = 5, - ] - - \addplot[magenta!80!blue, only marks] table[x index = 2, y index = 3] - {figures/data/qpsk_sim_constellations_static.dat}; - \end{axis} -\end{tikzpicture} - -\vspace{5mm} - -\begin{tikzpicture} - \begin{axis}[ - title = {Equalized}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -1.5, xmax = 1.5, - ymin = -1.5, ymax = 1.5, - ] - - \addplot[magenta!50!blue, only marks] table[x index = 4, y index = 5] - {figures/data/qpsk_sim_constellations_static.dat}; - \end{axis} -\end{tikzpicture} -\hspace{5mm} -\begin{tikzpicture} - \begin{axis}[ - title = {Locked}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -1.5, xmax = 1.5, - ymin = -1.5, ymax = 1.5, - ] - - \addplot[magenta!30!blue, only marks] table[x index = 6, y index = 7] - {figures/data/qpsk_sim_constellations_static.dat}; - \end{axis} -\end{tikzpicture} - diff --git a/doc/thesis/figures/tikz/qpsk-sim-constellations-without-effects.tex b/doc/thesis/figures/tikz/qpsk-sim-constellations-without-effects.tex deleted file mode 100644 index afddea4..0000000 --- a/doc/thesis/figures/tikz/qpsk-sim-constellations-without-effects.tex +++ /dev/null @@ -1,75 +0,0 @@ -% vim: set ts=2 sw=2 noet: -\begin{tikzpicture} - \begin{axis}[ - title = {Channel with ISI}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -3, xmax = 3, - ymin = -3, ymax = 3, - ] - - \addplot[magenta, only marks] table[x index = 0, y index = 1] - {figures/data/qpsk_sim_constellations_without_effects.dat}; - \end{axis} -\end{tikzpicture} -\hspace{5mm} -\begin{tikzpicture} - \begin{axis}[ - title = {Synchronized}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -3, xmax = 3, - ymin = -3, ymax = 3, - ] - - \addplot[magenta!80!blue, only marks] table[x index = 2, y index = 3] - {figures/data/qpsk_sim_constellations_without_effects.dat}; - \end{axis} -\end{tikzpicture} - -\vspace{5mm} - -\begin{tikzpicture} - \begin{axis}[ - title = {Equalized}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -1.5, xmax = 1.5, - ymin = -1.5, ymax = 1.5, - ] - - \addplot[magenta!50!blue, only marks] table[x index = 4, y index = 5] - {figures/data/qpsk_sim_constellations_without_effects.dat}; - \end{axis} -\end{tikzpicture} -\hspace{5mm} -\begin{tikzpicture} - \begin{axis}[ - title = {Locked}, - width = 5cm, height = 5cm, - % ylabel = {Quadrature}, - % xlabel = {In-Phase}, - xlabel near ticks, - ylabel near ticks, - grid = major, - xmin = -1.5, xmax = 1.5, - ymin = -1.5, ymax = 1.5, - ] - - \addplot[magenta!30!blue, only marks] table[x index = 6, y index = 7] - {figures/data/qpsk_sim_constellations_without_effects.dat}; - \end{axis} -\end{tikzpicture} - diff --git a/doc/thesis/figures/tikz/qpsk-simulations-dynamic.tex b/doc/thesis/figures/tikz/qpsk-simulations-dynamic.tex new file mode 100644 index 0000000..b2453a4 --- /dev/null +++ b/doc/thesis/figures/tikz/qpsk-simulations-dynamic.tex @@ -0,0 +1,77 @@ +% 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_constellations_without_effects.dat}{0}{1}{4}{} +% \makeplot{figures/data/qpsk_sim_constellations_static.dat}{0}{1}{4}{} +\makeplot{figures/data/qpsk_sim_constellations_static_symb.dat}{0}{1}{4}{ + ylabel = {Channel with ISI}, + yticklabel style = { + text width = 2.25em, + align = right, + }, + title = {}, +}{magenta} +\makeplot{figures/data/qpsk_sim_constellations_static_symb_vec.dat}{0}{1}{4}{title = {},}{magenta} +\makeplot{figures/data/qpsk_sim_constellations_static_symb_NLOS.dat}{0}{1}{4}{title = {},}{magenta} +\newline + +\noindent +% \makeplot{figures/data/qpsk_sim_constellations_without_effects.dat}{2}{3}{4}{} +% \makeplot{figures/data/qpsk_sim_constellations_static.dat}{2}{3}{4}{} +\makeplot{figures/data/qpsk_sim_constellations_static_symb.dat}{2}{3}{4}{% + ylabel = {Synchronized}, + yticklabel style = { + text width = 2.25em, + align = right, + }, +}{magenta!80!blue} +\makeplot{figures/data/qpsk_sim_constellations_static_symb_vec.dat}{2}{3}{4}{}{magenta!80!blue} +\makeplot{figures/data/qpsk_sim_constellations_static_symb_NLOS.dat}{2}{3}{4}{}{magenta!80!blue} +\newline + +\noindent +% \makeplot{figures/data/qpsk_sim_constellations_without_effects.dat}{4}{5}{1}{} +% \makeplot{figures/data/qpsk_sim_constellations_static.dat}{4}{5}{1}{} +\makeplot{figures/data/qpsk_sim_constellations_static_symb.dat}{4}{5}{1}{% + ylabel = {Equalized}, + yticklabel style = { + text width = 2.25em, + align = right, + }, +}{magenta!60!blue} +\makeplot{figures/data/qpsk_sim_constellations_static_symb_vec.dat}{4}{5}{1}{}{magenta!60!blue} +\makeplot{figures/data/qpsk_sim_constellations_static_symb_NLOS.dat}{4}{5}{1}{}{magenta!60!blue} +\newline + +\noindent +% \makeplot{figures/data/qpsk_sim_constellations_without_effects.dat}{6}{7}{1}{} +% \makeplot{figures/data/qpsk_sim_constellations_static.dat}{6}{7}{1}{} +\makeplot{figures/data/qpsk_sim_constellations_static_symb.dat}{6}{7}{1}{% + ylabel = {Locked}, + yticklabel style = { + text width = 2.25em, + align = right, + }, +}{magenta!40!blue} +\makeplot{figures/data/qpsk_sim_constellations_static_symb_vec.dat}{6}{7}{1}{}{magenta!40!blue} +\makeplot{figures/data/qpsk_sim_constellations_static_symb_NLOS.dat}{6}{7}{1}{}{magenta!40!blue} +\newline + diff --git a/doc/thesis/figures/tikz/qpsk-simulations-static.tex b/doc/thesis/figures/tikz/qpsk-simulations-static.tex new file mode 100644 index 0000000..b2453a4 --- /dev/null +++ b/doc/thesis/figures/tikz/qpsk-simulations-static.tex @@ -0,0 +1,77 @@ +% 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_constellations_without_effects.dat}{0}{1}{4}{} +% \makeplot{figures/data/qpsk_sim_constellations_static.dat}{0}{1}{4}{} +\makeplot{figures/data/qpsk_sim_constellations_static_symb.dat}{0}{1}{4}{ + ylabel = {Channel with ISI}, + yticklabel style = { + text width = 2.25em, + align = right, + }, + title = {}, +}{magenta} +\makeplot{figures/data/qpsk_sim_constellations_static_symb_vec.dat}{0}{1}{4}{title = {},}{magenta} +\makeplot{figures/data/qpsk_sim_constellations_static_symb_NLOS.dat}{0}{1}{4}{title = {},}{magenta} +\newline + +\noindent +% \makeplot{figures/data/qpsk_sim_constellations_without_effects.dat}{2}{3}{4}{} +% \makeplot{figures/data/qpsk_sim_constellations_static.dat}{2}{3}{4}{} +\makeplot{figures/data/qpsk_sim_constellations_static_symb.dat}{2}{3}{4}{% + ylabel = {Synchronized}, + yticklabel style = { + text width = 2.25em, + align = right, + }, +}{magenta!80!blue} +\makeplot{figures/data/qpsk_sim_constellations_static_symb_vec.dat}{2}{3}{4}{}{magenta!80!blue} +\makeplot{figures/data/qpsk_sim_constellations_static_symb_NLOS.dat}{2}{3}{4}{}{magenta!80!blue} +\newline + +\noindent +% \makeplot{figures/data/qpsk_sim_constellations_without_effects.dat}{4}{5}{1}{} +% \makeplot{figures/data/qpsk_sim_constellations_static.dat}{4}{5}{1}{} +\makeplot{figures/data/qpsk_sim_constellations_static_symb.dat}{4}{5}{1}{% + ylabel = {Equalized}, + yticklabel style = { + text width = 2.25em, + align = right, + }, +}{magenta!60!blue} +\makeplot{figures/data/qpsk_sim_constellations_static_symb_vec.dat}{4}{5}{1}{}{magenta!60!blue} +\makeplot{figures/data/qpsk_sim_constellations_static_symb_NLOS.dat}{4}{5}{1}{}{magenta!60!blue} +\newline + +\noindent +% \makeplot{figures/data/qpsk_sim_constellations_without_effects.dat}{6}{7}{1}{} +% \makeplot{figures/data/qpsk_sim_constellations_static.dat}{6}{7}{1}{} +\makeplot{figures/data/qpsk_sim_constellations_static_symb.dat}{6}{7}{1}{% + ylabel = {Locked}, + yticklabel style = { + text width = 2.25em, + align = right, + }, +}{magenta!40!blue} +\makeplot{figures/data/qpsk_sim_constellations_static_symb_vec.dat}{6}{7}{1}{}{magenta!40!blue} +\makeplot{figures/data/qpsk_sim_constellations_static_symb_NLOS.dat}{6}{7}{1}{}{magenta!40!blue} +\newline + -- cgit v1.2.1