From 8ced517966a5996ad659b155b7e0372107bbf116 Mon Sep 17 00:00:00 2001
From: Nicolas Tobler <nicolas.tobler@ost.ch>
Date: Tue, 2 Aug 2022 23:54:02 +0200
Subject: improved Einleitung

---
 buch/papers/ellfilter/tikz/filter.tikz.tex | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 buch/papers/ellfilter/tikz/filter.tikz.tex

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

diff --git a/buch/papers/ellfilter/tikz/filter.tikz.tex b/buch/papers/ellfilter/tikz/filter.tikz.tex
new file mode 100644
index 0000000..05b59b9
--- /dev/null
+++ b/buch/papers/ellfilter/tikz/filter.tikz.tex
@@ -0,0 +1,26 @@
+\begin{tikzpicture}[>=stealth', auto, node distance=2cm, scale=1.2]
+
+    \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}}
+
+    \begin{scope}[xscale=2, yscale=2]
+
+        \fill[ gray!20] (0,0) rectangle  (1,0.707);
+
+        \draw[gray, ->] (0,-0.25) -- (0,1.25) node[anchor=south]{$|H(\Omega)|$};
+        \draw[gray, ->] (-0.25,0) -- (3,0) node[anchor=west]{$\Omega$};
+
+        \draw[fill = gray!20] (0,0.707) node[left] {$\sqrt{\frac{1}{1+\varepsilon^2}}$} -| (1,0) node[below] {$\Omega_p$};
+
+        \draw[fill = gray!20] (0,0.707) node[left] {$\sqrt{\frac{1}{1+\varepsilon^2}}$} -| (1,0) node[below] {$\Omega_p$};
+
+        \begin{scope}[]
+            \draw[thick, domain=0:2.5,  variable=\x, smooth, samples=200] plot
+                ({\x}, {sqrt(abs(1/ (1 + \x^10)))});
+
+        \end{scope}
+
+    \end{scope}
+
+\end{tikzpicture}
-- 
cgit v1.2.1


From efa82f7edc7345c29c2d44674d8c8d8ad8741548 Mon Sep 17 00:00:00 2001
From: Nicolas Tobler <nicolas.tobler@ost.ch>
Date: Sat, 13 Aug 2022 19:32:21 +0200
Subject: corrections

---
 buch/papers/ellfilter/tikz/filter.tikz.tex | 26 ++++++++++++++++----------
 1 file changed, 16 insertions(+), 10 deletions(-)

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

diff --git a/buch/papers/ellfilter/tikz/filter.tikz.tex b/buch/papers/ellfilter/tikz/filter.tikz.tex
index 05b59b9..769602a 100644
--- a/buch/papers/ellfilter/tikz/filter.tikz.tex
+++ b/buch/papers/ellfilter/tikz/filter.tikz.tex
@@ -4,22 +4,28 @@
 
     \tikzset{pole/.style={cross out, draw=black, minimum size=(0.15cm-\pgflinewidth), inner sep=0pt, outer sep=0pt}}
 
-    \begin{scope}[xscale=2, yscale=2]
+    \begin{scope}[xscale=3, yscale=2.5]
 
-        \fill[ gray!20] (0,0) rectangle  (1,0.707);
+        \fill[darkgreen!15] (0,0) rectangle  (1,1);
+        \node[darkgreen] at (0.5,0.5) {Durchlassbereich};
+        \fill[orange!15] (1,0) rectangle  (2.5,1);
+        \node[orange] at (1.75,0.5) {Sperrbereich};
 
-        \draw[gray, ->] (0,-0.25) -- (0,1.25) node[anchor=south]{$|H(\Omega)|$};
-        \draw[gray, ->] (-0.25,0) -- (3,0) node[anchor=west]{$\Omega$};
+        \draw[gray, ->] (0,0) -- (0,1.25) node[anchor=south]{$|H(\Omega)|$};
+        \draw[gray, ->] (0,0) -- (2.75,0) node[anchor=west]{$\Omega$};
 
-        \draw[fill = gray!20] (0,0.707) node[left] {$\sqrt{\frac{1}{1+\varepsilon^2}}$} -| (1,0) node[below] {$\Omega_p$};
+        \draw[dashed] (0,0.707) node[left] {$\sqrt{\frac{1}{1+\varepsilon^2}}$} -| (1,0) node[below] {$\Omega_p$};
+        \draw[dashed] (0,0.707) node[left] {$\sqrt{\frac{1}{1+\varepsilon^2}}$} -| (1,0) node[below] {$\Omega_p$};
 
-        \draw[fill = gray!20] (0,0.707) node[left] {$\sqrt{\frac{1}{1+\varepsilon^2}}$} -| (1,0) node[below] {$\Omega_p$};
+        \node[left] at(0,1) {$1$};
 
-        \begin{scope}[]
-            \draw[thick, domain=0:2.5,  variable=\x, smooth, samples=200] plot
-                ({\x}, {sqrt(abs(1/ (1 + \x^10)))});
+        \draw[red, thick] (0,1) -- (1,1) -- (1,0) -- (2.5,0);
 
-        \end{scope}
+        \node[anchor=north, red] at (0.5,1) {Ideal};
+
+        \draw[thick, domain=0:2.5,  variable=\x, smooth, samples=200] plot
+        ({\x}, {sqrt(abs(1/ (1 + \x^10)))});
+        \node[anchor=south] at (0.5,1) {Butterworth ($N=5$)};
 
     \end{scope}
 
-- 
cgit v1.2.1

