aboutsummaryrefslogtreecommitdiffstats
path: root/doc/thesis/figures/tikz/qpsk-simulations-dynamic.tex
blob: 5806d42248c4479d06038e57fc32333ad8d01e5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
% 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
}