aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/reedsolomon/experiments/plot.tex
blob: bf9aadc97ef96808b97c673391ef80f1d16a55f8 (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
86
87
88
89
90
91
% polynome1
%-------------------
\documentclass[tikz]{standalone}
\usepackage{amsmath}
\usepackage{times}
\usepackage{txfonts}
\usepackage{pgfplots}
\usepackage{csvsimple}
\usepackage{pgfplotstable}
\usepackage{filecontents}
\usetikzlibrary{arrows,intersections,math}
\newcommand{\x}{10}
\newcommand{\y}{-8}
\begin{document}

\tikzset{
	node/.style={rectangle, draw=black!100, thick, on grid}, % on grid added
	dangling node/.style={node, fill=black!30}
}
\begin{tikzpicture}[]

\filldraw[red] (0,0) circle (5mm);
	%Knote
\matrix[draw = none, column sep=20mm, row sep=20mm]{
	\node(signal)  []    {
	\begin{tikzpicture}
		\begin{axis}[title = {\Large {Signal}}]
			\addplot[] table[col sep=comma] {signal.txt};
		\end{axis}
	\end{tikzpicture}}; &
	
	\node(codiert) []    {
	\begin{tikzpicture}
		\begin{axis}[title = {\Large {Codiert}}]
			\addplot[] table[col sep=comma] {codiert.txt};
		\end{axis}
	\end{tikzpicture}}; \\
		
	&\node(fehler) []    {
	\begin{tikzpicture}
		\begin{axis}[scale=0.6, title = {\Large {Fehler}}]
			\addplot[] table[col sep=comma] {fehler.txt};
		\end{axis}
	\end{tikzpicture}};\\
	
	\node(decodiert) []    {
	\begin{tikzpicture}
		\begin{axis}[title = {\Large {Decodiert}}]
			\addplot[] table[col sep=comma] {decodiert.txt};
		\end{axis}
	\end{tikzpicture}}; &

	\node(empfangen) []    {
	\begin{tikzpicture}
		\begin{axis}[title = {\Large {Empfangen}}]
			\addplot[] table[col sep=comma] {empfangen.txt};
		\end{axis}
	\end{tikzpicture}};\\

	\node(syndrom) []   {
	\begin{tikzpicture}
		\begin{axis}[title = {\Large {Syndrom}}]
			\addplot[] table[col sep=comma] {syndrom.txt};
		\end{axis}
	\end{tikzpicture}}; &

	\node(locator) []    {
	\begin{tikzpicture}
		\begin{axis}[title = {\Large {Locator}}]
			\addplot[] table[col sep=comma] {locator.txt};
		\end{axis}
	\end{tikzpicture}};\\
};
	%FFT & IFFT deskription

	\draw[thin,gray,dashed] (0,15) to (0,-15);
	\node(FFT)  [ scale=0.7]  at (0,15.3)   {FFT IFFT};
	
	%Arrows
	\draw[ultra thick, ->] (signal.east) to (codiert.west);
	\draw[ultra thick, ->] (codiert.south) to (fehler.north);
	\draw[ultra thick, ->] (fehler.south) to (empfangen.north);
	\draw[ultra thick, ->] (empfangen.west) to (decodiert.east);
	\draw[ultra thick, ->] (syndrom.east) to (locator.west);
	\draw(decodiert.south east)++(-1.8,1)  ellipse (1.3cm and 0.8cm) ++(-1.3,0) coordinate(zoom) ;
	\draw[ultra thick, ->] (zoom) to[out=180, in=90] (syndrom.north);
	
	
 \end{tikzpicture}
\end{document}