From 154b67cab08747c604bdede7f3d21a5a093e7c41 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 26 Dec 2018 12:10:44 +0100 Subject: Add some interpolation illustrations --- img/interpolation_basis.tikz | 32 ++++++++++++++++++++++++++++++++ img/interpolation_detail.tikz | 28 ++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 img/interpolation_basis.tikz create mode 100644 img/interpolation_detail.tikz (limited to 'img') diff --git a/img/interpolation_basis.tikz b/img/interpolation_basis.tikz new file mode 100644 index 0000000..1d8d86e --- /dev/null +++ b/img/interpolation_basis.tikz @@ -0,0 +1,32 @@ +\begin{tikzpicture}[ + scale=1.5, + coarse/.style={circle,draw=gray,inner sep=4pt}, + ibase/.style={coarse,draw=black,very thick}, + fine/.style={cross out,draw=gray,minimum size=8pt}, + wantedfine/.style={fine,draw=black,ultra thick}, + arrow/.style={-{Latex[length=2mm]},thick} +] + +\foreach \x in {-1,...,3} + \foreach \y in {-1,...,2} + \node[coarse] at (\x,\y){ }; + +\foreach \x in {0,...,8} + \foreach \y in {-2,...,4} + \node[fine] at (2+\x*0.5,\y*0.5){ }; + +\node[wantedfine] at (2,0.5){ }; +\node[ibase] at (2,2){ }; +\node[ibase] at (2,1){ }; +\node[ibase] at (2,0){ }; +\node[ibase] at (2,-1){ }; + +\draw[dashed,thick] (1.8,-1.2) rectangle (2.2,2.2); +\draw[dashed,draw=gray] (2.8,-1.2) rectangle (3.2,2.2); + +\draw[arrow] (2,3.3) node[right] {Interpolation von grob nach fein, \(\U_{g \to f}\)} -- (2,2.3); +\draw[arrow] (3,2.8) node[right] {Restriktion von fein nach grob, \(\U_{f \to g}\)} -- (3,2.3); + +\draw[decorate,decoration={brace,amplitude=10pt,mirror},line width=1pt] +(1.8,-1.4) -- (3.2,-1.4) node[midway,below,yshift=-6pt] {Übergangsbereich}; +\end{tikzpicture} diff --git a/img/interpolation_detail.tikz b/img/interpolation_detail.tikz new file mode 100644 index 0000000..3f9472b --- /dev/null +++ b/img/interpolation_detail.tikz @@ -0,0 +1,28 @@ +\begin{tikzpicture}[ + scale=1.5, + coarse/.style={circle,draw=gray,inner sep=4pt}, + ibase/.style={coarse,draw=black,very thick}, + fine/.style={cross out,draw=gray,minimum size=8pt}, + wantedfine/.style={fine,draw=black,ultra thick}, + arrow/.style={-{Latex[length=2mm]},thick} +] + +\foreach \x in {-3.5,...,3.5} + \node[coarse] at (\x,0){ }; + +\foreach \x in {-7,...,7} + \node[fine] at (\x*0.5,0){ }; + +\node[wantedfine] at (0,0){ }; +\node[ibase] at (-1.5,0){ }; +\node[ibase] at (-0.5,0){ }; +\node[ibase] at (0.5,0){ }; +\node[ibase] at (1.5,0){ }; + +\draw[arrow] (0,0.8) node[right] {Gesuchter Wert \(\interpol{\star}{x_{g \to f}^f}\)} -- (0,0.3); +\draw[arrow] (-1.5,-0.8) node[below right] {Bekannte Werte \(\interpol{\star}{\U_{g \to f}^g}\)} -- (-1.5,-0.3); +\draw[arrow] (-0.5,-0.8) -- (-0.5,-0.3); +\draw[arrow] (0.5,-0.8) -- (0.5,-0.3); +\draw[arrow] (1.5,-0.8) -- (1.5,-0.3); + +\end{tikzpicture} -- cgit v1.2.3