-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathmatsubara-contour-5.tex
38 lines (27 loc) · 1.52 KB
/
matsubara-contour-5.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
\documentclass[tikz]{standalone}
\usepackage{mathtools}
\let\Im\relax
\DeclareMathOperator{\Im}{Im}
\let\Re\relax
\DeclareMathOperator{\Re}{Re}
\usetikzlibrary{decorations.markings,positioning,decorations.pathmorphing}
\begin{document}
\begin{tikzpicture}[thick]
\def\xr{3.5} \def\yr{3}
% Axes
\draw [decorate,decoration={zigzag,segment length=6,amplitude=2,post=lineto,post length=10}] (-\xr-0.4,0) -- (0,0);
\draw [->,decorate,decoration={zigzag,segment length=6,amplitude=2,pre=lineto,pre length=10,post=lineto,post length=3}] (0,0) -- (\xr+0.4,0) node [above left] {$\Re(p_0)$};
\draw [->] (0,-\yr-0.7) -- (0,\yr+0.7) node[below left=0.1] {$\Im(p_0)$};
% Matsubara frequencies
\foreach \n in {-\yr,...,-1,1,2,...,\yr}{%
\draw[fill] (0,\n) circle (1pt) node [right=0.1,font=\footnotesize] {$i \mkern2mu \omega_{_{\n}}$};}
\draw[fill] (0,0) circle (1pt) node [above right=0.1] {0};
% Right contour line
\draw[xshift=5,blue!60!black,decoration={markings,mark=between positions 0.1 and 1 step 0.25 with \arrow{>}},postaction={decorate}] (0,-\yr-0.75) node [above right] {$C_1$} -- (0,\yr+0.75) arc (90:-90:\yr+0.75);
% Left contour line
\draw[xshift=-5,blue!60!black,decoration={markings,mark=between positions 0.1 and 1 step 0.25 with \arrow{>}},postaction={decorate}] (0,\yr+0.75) -- (0,-\yr-0.75) node [above left] {$C_2$} arc (270:90:\yr+0.75);
% Poles
\draw[fill] (\xr/2,\yr/4) circle (1.5pt) node [right] {$E$};
\draw[fill] (-\xr/2,-\yr/4) circle (1.5pt) node [left] {$-E$};
\end{tikzpicture}
\end{document}