From 35bb3b2f6e5c6f900660eca037566cb8ae832c77 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Fri, 28 Dec 2018 21:02:20 +0100 Subject: Some restructuring and a new figure --- img/interpolation_edge_case.tikz | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 img/interpolation_edge_case.tikz (limited to 'img/interpolation_edge_case.tikz') diff --git a/img/interpolation_edge_case.tikz b/img/interpolation_edge_case.tikz new file mode 100644 index 0000000..b0a8d44 --- /dev/null +++ b/img/interpolation_edge_case.tikz @@ -0,0 +1,35 @@ +\begin{tikzpicture}[ + scale=1.5, + coarse/.style={circle,draw=gray,inner sep=4pt}, + ibase/.style={coarse,draw=black!40!blue,very thick}, + fine/.style={cross out,draw=gray,minimum size=8pt}, + wantedfine/.style={fine,draw=black!40!blue,ultra thick}, + arrow/.style={-{Latex[length=2mm]},thick}, +] + +\foreach \x in {0,...,3} + \foreach \y in {-2,...,2} + \node[coarse] at (\x,\y){ }; + +\foreach \x in {4,...,6} + \foreach \y in {0,...,2} + \node[coarse] at (\x,\y){ }; + +\foreach \x in {0,...,8} + \foreach \y in {-4,...,2} + \node[fine] at (2+\x*0.5,\y*0.5){ }; + +\node[wantedfine] at (2,0.5){ }; +\node[ibase] at (2,1){ }; +\node[ibase] at (2,0){ }; +\node[ibase] at (2,-1){ }; + +\node[wantedfine,draw=black!40!green] at (5.5,1){ }; +\node[ibase,draw=black!40!green] at (6,1){ }; +\node[ibase,draw=black!40!green] at (5,1){ }; +\node[ibase,draw=black!40!green] at (4,1){ }; + +\draw[dashed,thick] (1.8,-2.2) -- (1.8,1.2) -- (6.2,1.2) -- (6.2,0.8) -- (2.2,0.8) -- (2.2,-2.2) -- (1.8,-2.2); +\draw[dashed,draw=gray] (2.8,-2.2) -- (2.8,0.2) -- (6.2,0.2) -- (6.2,-0.2) -- (3.2,-0.2) -- (3.2,-2.2) -- (2.8,-2.2); + +\end{tikzpicture} -- cgit v1.2.3