From d4e52d5bd83bed95d7712c34e14ccde3ff72810e Mon Sep 17 00:00:00 2001
From: Nicolas Tobler <nicolas.tobler@ost.ch>
Date: Tue, 9 Aug 2022 23:54:32 +0200
Subject: Improved plot color choices

---
 buch/papers/ellfilter/tikz/cd.tikz.tex | 53 ++++++++++++++++++----------------
 1 file changed, 28 insertions(+), 25 deletions(-)

(limited to 'buch/papers/ellfilter/tikz/cd.tikz.tex')

diff --git a/buch/papers/ellfilter/tikz/cd.tikz.tex b/buch/papers/ellfilter/tikz/cd.tikz.tex
index b2b0090..cc5852c 100644
--- a/buch/papers/ellfilter/tikz/cd.tikz.tex
+++ b/buch/papers/ellfilter/tikz/cd.tikz.tex
@@ -22,32 +22,35 @@
 
                 \fill[yellow!30] (0,0) rectangle (1, 0.5);
 
+                \foreach \i in {-2,...,1} {
+                    \foreach \j in {-2,...,1} {
+                        \begin{scope}[xshift=\i*4cm, yshift=\j*1cm]
+                            \draw[->, orange!50] (0, 0) -- (0,0.5);
+                            \draw[->, darkgreen!50] (1, 0) -- (0,0);
+                            \draw[->, cyan!50] (2, 0) -- (1,0);
+                            \draw[->, blue!50] (2,0.5) -- (2, 0);
+                            \draw[->, purple!50] (1, 0.5) -- (2,0.5);
+                            \draw[->, red!50] (0, 0.5) -- (1,0.5);
+                            \draw[->, orange!50] (0,1) -- (0,0.5);
+                            \draw[->, blue!50] (2,0.5) -- (2, 1);
+                            \draw[->, purple!50] (3, 0.5) -- (2,0.5);
+                            \draw[->, red!50] (4, 0.5) -- (3,0.5);
+                            \draw[->, cyan!50] (2, 0) -- (3,0);
+                            \draw[->, darkgreen!50] (3, 0) -- (4,0);
+                        \end{scope}
+                    }
+                }
 
-                \draw[ultra thick, ->, darkgreen] (0, 0) -- (0,0.5);
-                \draw[ultra thick, ->, orange] (1, 0) -- (0,0);
-                \draw[ultra thick, ->, red] (2, 0) -- (1,0);
+                \draw[ultra thick, ->, orange] (0, 0) -- (0,0.5);
+                \draw[ultra thick, ->, darkgreen] (1, 0) -- (0,0);
+                \draw[ultra thick, ->, cyan] (2, 0) -- (1,0);
                 \draw[ultra thick, ->, blue] (2,0.5) -- (2, 0);
                 \draw[ultra thick, ->, purple] (1, 0.5) -- (2,0.5);
-                \draw[ultra thick, ->, cyan] (0, 0.5) -- (1,0.5);
-
-
+                \draw[ultra thick, ->, red] (0, 0.5) -- (1,0.5);
 
                 \foreach \i in {-2,...,1} {
                     \foreach \j in {-2,...,1} {
                         \begin{scope}[xshift=\i*4cm, yshift=\j*1cm]
-                            \draw[opacity=0.5, ->, darkgreen] (0, 0) -- (0,0.5);
-                            \draw[opacity=0.5, ->, orange] (1, 0) -- (0,0);
-                            \draw[opacity=0.5, ->, red] (2, 0) -- (1,0);
-                            \draw[opacity=0.5, ->, blue] (2,0.5) -- (2, 0);
-                            \draw[opacity=0.5, ->, purple] (1, 0.5) -- (2,0.5);
-                            \draw[opacity=0.5, ->, cyan] (0, 0.5) -- (1,0.5);
-                            \draw[opacity=0.5, ->, darkgreen] (0,1) -- (0,0.5);
-                            \draw[opacity=0.5, ->, blue] (2,0.5) -- (2, 1);
-                            \draw[opacity=0.5, ->, purple] (3, 0.5) -- (2,0.5);
-                            \draw[opacity=0.5, ->, cyan] (4, 0.5) -- (3,0.5);
-                            \draw[opacity=0.5, ->, red] (2, 0) -- (3,0);
-                            \draw[opacity=0.5, ->, orange] (3, 0) -- (4,0);
-
                             \node[zero] at ( 1, 0) {};
                             \node[zero] at ( 3, 0) {};
                             \node[pole] at ( 1,0.5) {};
@@ -72,12 +75,12 @@
 
         \draw[gray, ->] (-6,0) -- (6,0) node[anchor=west]{$w$};
 
-        \draw[thick, ->, purple] (-5, 0) -- (-3, 0);
-        \draw[thick, ->, blue]      (-3, 0) -- (-2, 0);
-        \draw[thick, ->, red]       (-2, 0) -- (0, 0);
-        \draw[thick, ->, orange]    (0, 0) -- (2, 0);
-        \draw[thick, ->, darkgreen] (2, 0) -- (3, 0);
-        \draw[thick, ->, cyan] (3, 0) -- (5, 0);
+        \draw[ultra thick, ->, purple] (-5, 0) -- (-3, 0);
+        \draw[ultra thick, ->, blue]      (-3, 0) -- (-2, 0);
+        \draw[ultra thick, ->, cyan]       (-2, 0) -- (0, 0);
+        \draw[ultra thick, ->, darkgreen]    (0, 0) -- (2, 0);
+        \draw[ultra thick, ->, orange] (2, 0) -- (3, 0);
+        \draw[ultra thick, ->, red] (3, 0) -- (5, 0);
 
         \node[anchor=south] at (-5,0) {$-\infty$};
         \node[anchor=south] at (-3,0) {$-1/k$};
-- 
cgit v1.2.1

