ueberlappung-kaestchen-torus.tex 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. \begin{tikzpicture}
  2. \tikzstyle{point}=[circle,thick,draw=black,fill=black,inner sep=0pt,minimum width=4pt,minimum height=4pt]
  3. \newcommand*{\xMin}{0}%
  4. \newcommand*{\xMax}{6}%
  5. \newcommand*{\yMin}{0}%
  6. \newcommand*{\yMax}{6}%
  7. \draw (-3.5,0) .. controls (-3.5,2) and (-1.5,2.5) .. (0,2.5);
  8. \draw[xscale=-1] (-3.5,0) .. controls (-3.5,2) and (-1.5,2.5) .. (0,2.5);
  9. \draw[rotate=180] (-3.5,0) .. controls (-3.5,2) and (-1.5,2.5) .. (0,2.5);
  10. \draw[yscale=-1] (-3.5,0) .. controls (-3.5,2) and (-1.5,2.5) .. (0,2.5);
  11. \draw (-2,.2) .. controls (-1.5,-0.3) and (-1,-0.5) .. (0,-.5) .. controls (1,-0.5) and (1.5,-0.3) .. (2,0.2);
  12. \draw (-1.75,0) .. controls (-1.5,0.3) and (-1,0.5) .. (0,.5) .. controls (1,0.5) and (1.5,0.3) .. (1.75,0);
  13. \begin{scope}[shift={(-12,-3)}]
  14. \foreach \i in {\xMin,...,\xMax} {
  15. \draw [very thin,gray] (\i,\yMin) -- (\i,\yMax) node [below] at (\i,\yMin) {$\i$};
  16. }
  17. \foreach \i in {\yMin,...,\yMax} {
  18. \draw [very thin,gray] (\xMin,\i) -- (\xMax,\i) node [left] at (\xMin,\i) {$\i$};
  19. }
  20. \begin{scope}[shift={(14,2)}]
  21. \node (P) at (0.4,0.9) {};
  22. \node (Q) at (0.9,0.4) {};
  23. \draw [red] (P) rectangle (Q);
  24. \draw (0.65, 0.6) node[red] {*};
  25. \end{scope}
  26. \foreach \x in {0,1,2,3,4,5} {
  27. \foreach \y in {0,1,2,3,4,5} {
  28. \begin{scope}[shift={(\x,\y)}]
  29. \node (P) at (0.4,0.9) {};
  30. \node (Q) at (0.9,0.4) {};
  31. \draw [red] (P) rectangle (Q);
  32. \draw (0.65, 0.6) node[red] {*};
  33. \end{scope}
  34. }
  35. }
  36. \end{scope}
  37. \draw (-4.5, 0) node[below] {$\xrightarrow{\text{\;\;\;\;\;\;\;\;}}$};
  38. \end{tikzpicture}