From efa82f7edc7345c29c2d44674d8c8d8ad8741548 Mon Sep 17 00:00:00 2001 From: Nicolas Tobler 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