topology-circle-two-paths.tex 644 B

12345678910111213141516171819
  1. \documentclass[varwidth=true, border=2pt]{standalone}
  2. \usepackage{pgfplots}
  3. \usepackage{tikz}
  4. \begin{document}
  5. \begin{tikzpicture}
  6. \tikzstyle{point}=[circle,thick,draw=black,fill=black,inner sep=0pt,minimum width=4pt,minimum height=4pt]
  7. \draw [red, thick,domain=90:-90, samples=100] plot ({cos(\x)}, {sin(\x)});
  8. \draw [green,thick,domain=-90:-270,samples=100] plot ({cos(\x)}, {sin(\x)});
  9. \node (a)[point,label=90:$a$] at (0,-1cm) {};
  10. \node (b)[point,label=-90:$b$] at (0, 1cm) {};
  11. \node at (1,0) [anchor=180, red] {$\gamma_1$};
  12. \node at (-1,0) [anchor=0, green] {$\gamma_2$};
  13. \end{tikzpicture}
  14. \end{document}