topology-4.tex 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. \begin{tikzpicture}[thick]
  2. \draw[pattern=north east lines] (-3,3) -- (3,3) -- (3,-3) -- (-3,-3) -- cycle;
  3. \begin{scope}
  4. \draw[red, pattern color=red, pattern=north west lines] (-3,-1) -- (-1,-1) -- (-1,-3) -- (-3,-3) -- cycle;
  5. \draw[->,blue] (-3,-1.5) -- (-2,-1.5);
  6. \draw[blue] (-2,-1.5) -- (-1.5,-1.5);
  7. \draw[->,blue] (-1.5,-1.5) -- (-1.5,-2.3);
  8. \draw[blue] (-1.5, -2.3) -- (-1.5, -3);
  9. \draw[green] (-3,-2) -- (-2,-2) -- (-2, -3);
  10. \end{scope}
  11. \begin{scope}[rotate=90]
  12. \draw[red, pattern color=red, pattern=north west lines] (-3,-1) -- (-1,-1) -- (-1,-3) -- (-3,-3) -- cycle;
  13. \draw[->,blue] (-3,-1.5) -- (-2,-1.5);
  14. \draw[blue] (-2,-1.5) -- (-1.5,-1.5);
  15. \draw[->,blue] (-1.5,-1.5) -- (-1.5,-2.3);
  16. \draw[blue] (-1.5, -2.3) -- (-1.5, -3);
  17. \draw[green] (-3,-2) -- (-2,-2) -- (-2, -3);
  18. \end{scope}
  19. \begin{scope}[rotate=180]
  20. \draw[red, pattern color=red, pattern=north west lines] (-3,-1) -- (-1,-1) -- (-1,-3) -- (-3,-3) -- cycle;
  21. \draw[->,blue] (-3,-1.5) -- (-2,-1.5);
  22. \draw[blue] (-2,-1.5) -- (-1.5,-1.5);
  23. \draw[->,blue] (-1.5,-1.5) -- (-1.5,-2.3);
  24. \draw[blue] (-1.5, -2.3) -- (-1.5, -3);
  25. \draw[green] (-3,-2) -- (-2,-2) -- (-2, -3);
  26. \end{scope}
  27. \begin{scope}[rotate=270]
  28. \draw[red, pattern color=red, pattern=north west lines] (-3,-1) -- (-1,-1) -- (-1,-3) -- (-3,-3) -- cycle;
  29. \draw[->,blue] (-3,-1.5) -- (-2,-1.5);
  30. \draw[blue] (-2,-1.5) -- (-1.5,-1.5);
  31. \draw[->,blue] (-1.5,-1.5) -- (-1.5,-2.3);
  32. \draw[blue] (-1.5, -2.3) -- (-1.5, -3);
  33. \draw[green] (-3,-2) -- (-2,-2) -- (-2, -3);
  34. \end{scope}
  35. \node[red] at (3.3,-1) {$V$};
  36. \node[green] at (3.3,2) {$U$};
  37. \node[blue] at (1.5, 3.2) {$a$};
  38. \node[purple] at (-0.4, 1.8) {$b$};
  39. \draw[purple] (-1.5,1.5) -- (1.5,1.5);
  40. \begin{scope}[xshift=6cm, yshift=-2cm]
  41. \node[red] at (-0.5,0.5) {$V$};
  42. \draw[red,pattern color=red, pattern=north west lines] (-1,1) -- (1,1) -- (1,-1) -- (-1,-1) -- cycle;
  43. \draw[red] (-1,0) -- (1,0);
  44. \draw[red] (0,-1) -- (0,1);
  45. \end{scope}
  46. \node[blue] at (4.5, 1.7) {$a$};
  47. \node[purple] at (7.5, 1.7) {$b$};
  48. \begin{scope}[xshift=5cm, yshift=1cm]
  49. \draw[black,fill=white] (0,0) circle(1.2cm);
  50. \draw[black, fill=white] (2,0) circle(1.2cm);
  51. \path[fill=white] (0,0) circle(1.19cm);
  52. \draw[black] (0,0) circle(0.5cm);
  53. \draw[black] (2,0) circle(0.5cm);
  54. \draw[blue,->] (0,0)+(30:0.7cm) arc (30:390:0.7cm);
  55. \draw[purple,<-] (2,0)+(150:0.7cm) arc (150:510:0.7cm);
  56. \end{scope}
  57. \end{tikzpicture}