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/sn.tikz.tex | 54 +++++++++++++++++++---------------
 1 file changed, 30 insertions(+), 24 deletions(-)

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

diff --git a/buch/papers/ellfilter/tikz/sn.tikz.tex b/buch/papers/ellfilter/tikz/sn.tikz.tex
index 8e4d223..c3df8d1 100644
--- a/buch/papers/ellfilter/tikz/sn.tikz.tex
+++ b/buch/papers/ellfilter/tikz/sn.tikz.tex
@@ -17,39 +17,45 @@
 
             \begin{scope}[xshift=-1cm]
 
+                \foreach \i in {-2,...,2} {
+                    \foreach \j in {-2,...,1} {
+                        \begin{scope}[xshift=\i*4cm, yshift=\j*1cm]
+                            \draw[<-, blue!50] (0, 0) -- (0,0.5);
+                            \draw[<-, cyan!50] (1, 0) -- (0,0);
+                            \draw[<-, darkgreen!50] (2, 0) -- (1,0);
+                            \draw[<-, orange!50] (2,0.5) -- (2, 0);
+                            \draw[<-, red!50] (1, 0.5) -- (2,0.5);
+                            \draw[<-, purple!50] (0, 0.5) -- (1,0.5);
+                            \draw[<-, blue!50] (0,1) -- (0,0.5);
+                            \draw[<-, orange!50] (2,0.5) -- (2, 1);
+                            \draw[<-, red!50] (3, 0.5) -- (2,0.5);
+                            \draw[<-, purple!50] (4, 0.5) -- (3,0.5);
+                            \draw[<-, darkgreen!50] (2, 0) -- (3,0);
+                            \draw[<-, cyan!50] (3, 0) -- (4,0);
+                        \end{scope}
+                    }
+                }
+
                 % \pause
-                \draw[ultra thick, <-, orange] (2, 0) -- (1,0);
+                \draw[ultra thick, <-, darkgreen] (2, 0) -- (1,0);
                 % \pause
-                \draw[ultra thick, <-, darkgreen] (2,0.5) -- (2, 0);
+                \draw[ultra thick, <-, orange] (2,0.5) -- (2, 0);
                 % \pause
-                \draw[ultra thick, <-, cyan] (1, 0.5) -- (2,0.5);
+                \draw[ultra thick, <-, red] (1, 0.5) -- (2,0.5);
                 % \pause
                 \draw[ultra thick, <-, blue] (0, 0) -- (0,0.5);
                 \draw[ultra thick, <-, purple] (0, 0.5) -- (1,0.5);
-                \draw[ultra thick, <-, red] (1, 0) -- (0,0);
+                \draw[ultra thick, <-, cyan] (1, 0) -- (0,0);
                 % \pause
 
+
                 \foreach \i in {-2,...,2} {
                     \foreach \j in {-2,...,1} {
                         \begin{scope}[xshift=\i*4cm, yshift=\j*1cm]
-                            \draw[opacity=0.5, <-, blue] (0, 0) -- (0,0.5);
-                            \draw[opacity=0.5, <-, red] (1, 0) -- (0,0);
-                            \draw[opacity=0.5, <-, orange] (2, 0) -- (1,0);
-                            \draw[opacity=0.5, <-, darkgreen] (2,0.5) -- (2, 0);
-                            \draw[opacity=0.5, <-, cyan] (1, 0.5) -- (2,0.5);
-                            \draw[opacity=0.5, <-, purple] (0, 0.5) -- (1,0.5);
-                            \draw[opacity=0.5, <-, blue] (0,1) -- (0,0.5);
-                            \draw[opacity=0.5, <-, darkgreen] (2,0.5) -- (2, 1);
-                            \draw[opacity=0.5, <-, cyan] (3, 0.5) -- (2,0.5);
-                            \draw[opacity=0.5, <-, purple] (4, 0.5) -- (3,0.5);
-                            \draw[opacity=0.5, <-, orange] (2, 0) -- (3,0);
-                            \draw[opacity=0.5, <-, red] (3, 0) -- (4,0);
-
                             \node[zero] at ( 1, 0) {};
                             \node[zero] at ( 3, 0) {};
                             \node[pole] at ( 1,0.5) {};
                             \node[pole] at ( 3,0.5) {};
-
                         \end{scope}
                     }
                 }
@@ -72,12 +78,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

