topology-ueberlagerung.tex 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. \newcommand\markangle[6]{% origin X Y radius radiusmark mark
  2. % fill red circle
  3. \begin{scope}
  4. \path[clip] (#1) -- (#2) -- (#3);
  5. \fill[color=red,fill opacity=0.5,draw=red,name path=circle]
  6. (#1) circle (#4);
  7. \end{scope}
  8. % middle calculation
  9. \path[name path=line one] (#1) -- (#2);
  10. \path[name path=line two] (#1) -- (#3);
  11. \path[%
  12. name intersections={of=line one and circle, by={inter one}},
  13. name intersections={of=line two and circle, by={inter two}}
  14. ] (inter one) -- (inter two) coordinate[pos=.5] (middle);
  15. % put mark
  16. \node at ($(#1)!#5!(middle)$) {#6};
  17. }
  18. \begin{tikzpicture}[scale=0.7]
  19. \newcommand{\R}{2}
  20. \draw (0,0) circle (\R);
  21. \draw[->, thick] ({-(\R+0.2)},0) -- ({\R+0.2},0);
  22. \draw[->, thick] (0,{-(\R+0.2)}) -- (0,{\R+0.2});
  23. \draw[thick] (\R,-0.06) -- (\R,0.06) node[label=below:$1$] {};
  24. \draw[thick] (-0.06,\R) -- (0.06,\R) node[label=left:$i$] {};
  25. \draw (0,0) -- ({\R*cos(30)},{\R*sin(30)}) node[label=15:$z$] {};
  26. \draw (0,0) -- ({\R*cos(60)},{\R*sin(60)}) node[label=35:$z^2$] {};
  27. \coordinate (O) at (0,0);
  28. \coordinate (X) at (1,0);
  29. \coordinate (Y) at ({\R*cos(30)},{\R*sin(30)});
  30. \coordinate (Z) at ({\R*cos(60)},{\R*sin(60)});
  31. \markangle{O}{Y}{Z}{10mm}{7mm}{$\varphi$}
  32. \markangle{O}{X}{Y}{10mm}{7mm}{$\varphi$}
  33. \begin{scope}[xshift=4cm, yshift=-1.2cm]
  34. \draw (0,0) circle (\R/2);
  35. \newcommand{\x}{1}
  36. \draw [red,thick,domain=-30:30] plot ({cos(\x)}, {sin(\x)});
  37. \draw [red,thick,domain=210:150] plot ({cos(\x)}, {sin(\x)});
  38. \end{scope}
  39. \begin{scope}[xshift=4cm, yshift=+1.2cm]
  40. \draw (0,0) circle (\R/2);
  41. \newcommand{\x}{1}
  42. \draw [red,thick,domain=-30:30] plot ({cos(\x)}, {sin(\x)});
  43. \end{scope}
  44. \coordinate (T) at (5.5,1);
  45. \path[->] (5.5,-1) edge[bend right] node[label=right:$z^2$] {} (T);
  46. \end{tikzpicture}