diff options
Improve restriction figure
-rw-r--r-- | img/restriction_base.tikz | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/img/restriction_base.tikz b/img/restriction_base.tikz index 9c2c132..f35c8d4 100644 --- a/img/restriction_base.tikz +++ b/img/restriction_base.tikz @@ -1,23 +1,23 @@ \begin{tikzpicture}[ - scale=2.0, - coarse/.style={circle,draw=black,very thick,inner sep=4}, + scale=1.25, + coarse/.style={circle,draw=gray,thick,inner sep=4}, fine/.style={cross out,draw=gray,inner sep=2}, usedArrow/.style={very thick,->,>=stealth}, - availableArrow/.style={draw=gray,->,>=stealth} + availableArrow/.style={draw=gray,->,>=stealth}, + arrow/.style={-{Latex[length=2mm]},thick} ] -\node[fine] at (0,0){ }; -\node[fine] at (1,0){ }; -\node[fine] at (2,0){ }; +\foreach \x in {-1,...,6} + \foreach \y in {-1,...,3} { + \node[fine] at (\x,\y){ }; + }; -\node[fine] at (0,1){ }; -\node[fine] at (1,1){ }; -\node[coarse] at (1,1){ }; -\node[fine] at (2,1){ }; +\foreach \x in {-3,-1,1} + \foreach \y in {-1,1,3} { + \node[coarse,draw=gray] at (\x,\y){ }; + }; -\node[fine] at (0,2){ }; -\node[fine] at (1,2){ }; -\node[fine] at (2,2){ }; +\node[coarse,draw=black,ultra thick] at (1,1){ }; \foreach \x in {0,...,2} \foreach \y in {0,...,2} { @@ -30,16 +30,13 @@ \draw[availableArrow] (\x,\y+0.1) -- (\x,\y+0.3){ }; }; -\draw[usedArrow] (2.1,2.1) -- (2.3,2.3){ }; -\draw[usedArrow] (2.1,1.1) -- (2.3,1.3){ }; -\draw[usedArrow] (2.1,0.1) -- (2.3,0.3){ }; +\foreach \x in {0,...,2} + \foreach \y in {0,...,2} { + \draw[usedArrow] (\x+0.1,\y+0.1) -- (\x+0.3,\y+0.3){ }; + }; -\draw[usedArrow] (1.1,2.1) -- (1.3,2.3){ }; -\draw[usedArrow] (1.1,1.1) -- (1.3,1.3){ }; -\draw[usedArrow] (1.1,0.1) -- (1.3,0.3){ }; +\draw[dashed,very thick] (0.6,-1.4) rectangle (1.4,3.4); +\draw[arrow] (1,4.3) node[right] {Restriktion von fein nach grob, \(\U_{f \to g}\)} -- (1,3.6); -\draw[usedArrow] (0.1,2.1) -- (0.3,2.3){ }; -\draw[usedArrow] (0.1,1.1) -- (0.3,1.3){ }; -\draw[usedArrow] (0.1,0.1) -- (0.3,0.3){ }; \end{tikzpicture} |