From d4e52d5bd83bed95d7712c34e14ccde3ff72810e Mon Sep 17 00:00:00 2001 From: Nicolas Tobler Date: Tue, 9 Aug 2022 23:54:32 +0200 Subject: Improved plot color choices --- buch/papers/ellfilter/tikz/arccos.tikz.tex | 28 +++++++-------- buch/papers/ellfilter/tikz/arccos2.tikz.tex | 41 ++++++++++++++-------- buch/papers/ellfilter/tikz/cd.tikz.tex | 53 +++++++++++++++------------- buch/papers/ellfilter/tikz/sn.tikz.tex | 54 ++++++++++++++++------------- 4 files changed, 99 insertions(+), 77 deletions(-) (limited to 'buch/papers/ellfilter/tikz') diff --git a/buch/papers/ellfilter/tikz/arccos.tikz.tex b/buch/papers/ellfilter/tikz/arccos.tikz.tex index 4211053..a139fc4 100644 --- a/buch/papers/ellfilter/tikz/arccos.tikz.tex +++ b/buch/papers/ellfilter/tikz/arccos.tikz.tex @@ -23,26 +23,26 @@ \clip(-7.5,-2) rectangle (7.5,2); % \pause - \draw[ultra thick, ->, orange] (1, 0) -- (0,0); + \draw[ultra thick, ->, darkgreen] (1, 0) -- (0,0); % \pause - \draw[ultra thick, ->, darkgreen] (0, 0) -- (0,1.5); + \draw[ultra thick, ->, orange] (0, 0) -- (0,1.5); % \pause - \draw[ultra thick, ->, red] (2, 0) -- (1,0); + \draw[ultra thick, ->, cyan] (2, 0) -- (1,0); \draw[ultra thick, ->, blue] (2,1.5) -- (2, 0); % \pause \foreach \i in {-2,...,1} { \begin{scope}[xshift=\i*4cm] - \begin{scope}[opacity=0.5] - \draw[->, orange] (-1, 0) -- (0,0); - \draw[->, darkgreen] (0, 0) -- (0,1.5); - \draw[->, darkgreen] (0, 0) -- (0,-1.5); - \draw[->, orange] (1, 0) -- (0,0); - \draw[->, red] (2, 0) -- (1,0); + \begin{scope}[] + \draw[->, darkgreen] (-1, 0) -- (0,0); + \draw[->, orange] (0, 0) -- (0,1.5); + \draw[->, orange] (0, 0) -- (0,-1.5); + \draw[->, darkgreen] (1, 0) -- (0,0); + \draw[->, cyan] (2, 0) -- (1,0); \draw[->, blue] (2,1.5) -- (2, 0); \draw[->, blue] (2,-1.5) -- (2, 0); - \draw[->, red] (2, 0) -- (3,0); + \draw[->, cyan] (2, 0) -- (3,0); \end{scope} \node[zero] at (1,0) {}; \node[zero] at (3,0) {}; @@ -58,10 +58,10 @@ \draw[gray, ->] (-5,0) -- (5,0) node[anchor=west]{$w$}; - \draw[thick, ->, blue] (-4, 0) -- (-2, 0); - \draw[thick, ->, red] (-2, 0) -- (0, 0); - \draw[thick, ->, orange] (0, 0) -- (2, 0); - \draw[thick, ->, darkgreen] (2, 0) -- (4, 0); + \draw[ultra thick, ->, blue] (-4, 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) -- (4, 0); \node[anchor=south] at (-4,0) {$-\infty$}; \node[anchor=south] at (-2,0) {$-1$}; diff --git a/buch/papers/ellfilter/tikz/arccos2.tikz.tex b/buch/papers/ellfilter/tikz/arccos2.tikz.tex index 755e8a0..c3f11bb 100644 --- a/buch/papers/ellfilter/tikz/arccos2.tikz.tex +++ b/buch/papers/ellfilter/tikz/arccos2.tikz.tex @@ -2,21 +2,34 @@ \tikzstyle{zero} = [draw, circle, inner sep =0, minimum height=0.15cm] \tikzset{pole/.style={cross out, draw=black, minimum size=(0.15cm-\pgflinewidth), inner sep=0pt, outer sep=0pt}} + \tikzstyle{dot} = [fill, circle, inner sep =0, minimum height=0.1cm] - \begin{scope}[xscale=0.5] - \draw[gray, ->] (0,-2) -- (0,2) node[anchor=south]{$\mathrm{Im}~z_1$}; - \draw[gray, ->] (-10,0) -- (10,0) node[anchor=west]{$\mathrm{Re}~z_1$}; + \begin{scope}[xscale=0.75] + + \draw[gray, ->] (0,-1) -- (0,2) node[anchor=south]{$\mathrm{Im}~z_1$}; + \draw[gray, ->] (-2,0) -- (9,0) node[anchor=west]{$\mathrm{Re}~z_1$}; \begin{scope} - \draw[>->, line width=0.05, thick, blue] (2, 1.5) -- (2,0.05) -- node[anchor=south, pos=0.5]{$N=1$} (0.1,0.05) -- (0.1,1.5); - \draw[>->, line width=0.05, thick, orange] (4, 1.5) -- (4,0) -- node[anchor=south, pos=0.25]{$N=2$} (0,0) -- (0,1.5); - \draw[>->, line width=0.05, thick, red] (6, 1.5) node[anchor=north west]{$-\infty$} -- (6,-0.05) node[anchor=west]{$-1$} -- node[anchor=north]{$0$} node[anchor=south, pos=0.1666]{$N=3$} (-0.1,-0.05) node[anchor=east]{$1$} -- (-0.1,1.5) node[anchor=north east]{$\infty$}; + \draw[->, ultra thick, blue] (8, 1.5) -- node[align=center]{Sperrbereich} (8,0); + \draw[->, ultra thick, cyan] (8, 0) -- node[yshift=-0.5cm]{Durchlassbereich}(4,0); + \draw[->, ultra thick, darkgreen] (4, 0) -- node[yshift=-0.5cm]{Durchlassbereich} (0,0); + \draw[->, ultra thick, orange] (0, 0) -- node[align=center]{Sperrbereich} (0,1.5); + + \node[anchor=north east] at (8, 1.5) {$-\infty$}; + \draw (8, 0) node[dot]{} node[anchor=south east] {$1$}; + \draw (6, 0) node[dot]{} node[anchor=south] {$-1$}; + \draw (4, 0) node[dot]{} node[anchor=south] {$1$}; + \draw (2, 0) node[dot]{} node[anchor=south] {$-1$}; + \draw (0, 0) node[dot]{} node[anchor=south west] {$1$}; + \node[anchor=north west] at (0, 1.5){$\infty$}; + + \node at(4,1) {$N = 4$}; - \node[zero] at (-7,0) {}; - \node[zero] at (-5,0) {}; - \node[zero] at (-3,0) {}; + % \node[zero] at (-7,0) {}; + % \node[zero] at (-5,0) {}; + % \node[zero] at (-3,0) {}; \node[zero] at (-1,0) {}; \node[zero] at (1,0) {}; \node[zero] at (3,0) {}; @@ -25,9 +38,9 @@ \end{scope} - \node[gray, anchor=north] at (-8,0) {$-4\pi$}; - \node[gray, anchor=north] at (-6,0) {$-3\pi$}; - \node[gray, anchor=north] at (-4,0) {$-2\pi$}; + % \node[gray, anchor=north] at (-8,0) {$-4\pi$}; + % \node[gray, anchor=north] at (-6,0) {$-3\pi$}; + % \node[gray, anchor=north] at (-4,0) {$-2\pi$}; \node[gray, anchor=north] at (-2,0) {$-\pi$}; \node[gray, anchor=north] at (2,0) {$\pi$}; \node[gray, anchor=north] at (4,0) {$2\pi$}; @@ -35,12 +48,12 @@ \node[gray, anchor=north] at (8,0) {$4\pi$}; - \node[gray, anchor=east] at (0,-1.5) {$-\infty$}; + % \node[gray, anchor=east] at (0,-1.5) {$-\infty$}; \node[gray, anchor=east] at (0, 1.5) {$\infty$}; \end{scope} - \node[zero] at (4,2) (n) {}; + \node[zero] at (6.5,2) (n) {}; \node[anchor=west] at (n.east) {Zero}; \end{tikzpicture} \ No newline at end of file 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$}; 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