From 2805ea85b02609e6f7b7c2d511260ed94944722e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <andreas.mueller@ost.ch>
Date: Sun, 8 Aug 2021 13:34:03 +0200
Subject: mehr Farbe ;-)

---
 buch/papers/reedsolomon/tikz/fourier.tex | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

(limited to 'buch/papers/reedsolomon/tikz/fourier.tex')

diff --git a/buch/papers/reedsolomon/tikz/fourier.tex b/buch/papers/reedsolomon/tikz/fourier.tex
index d5a8d06..bbe0508 100644
--- a/buch/papers/reedsolomon/tikz/fourier.tex
+++ b/buch/papers/reedsolomon/tikz/fourier.tex
@@ -22,9 +22,14 @@
 	\node at (M) {#1};
 }
 
+\definecolor{darkgreen}{rgb}{0,0.6,0}
+
 \begin{document}
 \begin{tikzpicture}[>=latex,thick]
 
+\fill[color=blue!10] (-5.7,-14.5) rectangle (2.6,5.0);
+\fill[color=darkgreen!10] (2.6,-14.5) rectangle (11.1,5.0);
+
 \draw[dashed,line width=2pt,color=lightgray] (2.6,4.4) -- (2.6,-14.3);
 \coordinate (B) at (2.6,-1.3);
 \node[color=gray] at (B) [rotate=90,above] {Zeitbereich\strut};
@@ -33,7 +38,9 @@
 \begin{scope}[xshift=-\xverschiebung,yshift=0cm]
 	\begin{axis}
 		[title = {\large Signal\strut}, 
-		xtick={0,32,64,96}, width=\plotwidth,height=\plotheight]
+		xtick={0,32,64,96},
+		axis background/.style={fill=white},
+		width=\plotwidth,height=\plotheight]
 		\addplot[blue,line width=1pt] table[col sep=comma]
 			{tikz/signal.txt};
 	\end{axis}
@@ -42,12 +49,14 @@
 
 \begin{scope}[xshift=\xverschiebung,yshift=0cm]
 	\begin{axis}[axis x line= none, axis y line*=right,ytick={0},
+		axis background/.style={fill=white},
 		width=\plotwidth,height=\plotheight]
 		\addplot[color=white] {0};
 	\end{axis}
 
 	\begin{axis}[title = {\large Codiert\strut}, axis y line*=left,
 		xtick={0,32,64,96},
+		axis background/.style={fill=white},
 		width=\plotwidth,height=\plotheight]
 		\addplot[color=black!60!green,line width=1pt]
 			table[col sep=comma]
@@ -60,9 +69,10 @@
 \definecolor{pink}{rgb}{0.6,0.2,1}
 
 \begin{scope}[xshift=-\xverschiebung,yshift=\yverschiebung]
-	\fill[color=pink!20] (4.65,0.35) ellipse (1.1cm and 0.5cm);
+	%\fill[color=pink!20] (4.65,0.35) ellipse (1.1cm and 0.5cm);
 	\begin{axis}[title = {\large Decodiert\strut},
 		xtick={0,32,64,96},
+		axis background/.style={fill=white},
 		width=\plotwidth,height=\plotheight]
 		\addplot[blue,line width=1pt]
 			table[col sep=comma] {tikz/decodiert.txt};
@@ -76,6 +86,7 @@
 \begin{scope}[xshift=\xverschiebung,yshift=\yverschiebung]
 	\begin{axis}[title = {\large Empfangen {\color{red} mit Fehler}\strut},
 		xtick={0,96},
+		axis background/.style={fill=white},
 		axis y line*=left,
 		width=\plotwidth,height=\plotheight]
 		\addplot[color=black!60!green,line width=1pt]
@@ -93,6 +104,7 @@
 \begin{scope}[xshift=-\xverschiebung,yshift=\yyverschiebung]
 	\begin{axis}[title = {\large \color{pink}Syndrom\strut},
 		xtick={0,32,64,96},
+		axis background/.style={fill=white},
 		width=\plotwidth,height=\plotheight]
 		\addplot[pink,line width=1pt]
 			table[col sep=comma] {tikz/syndrom.txt};
@@ -104,6 +116,7 @@
 	% Beschriftung Rechts
 	\begin{axis}[axis x line= none, axis y line*=right, ytick={0.3},
 		xtick={0,32,64,96},
+		axis background/.style={fill=white},
 		width=\plotwidth,height=\plotheight]
 		\addplot[color=black!60,line width=1pt] {0.3};
 	\end{axis}
-- 
cgit v1.2.1

