如何畫孤子下的感應電荷-費曼圖?

如何畫孤子下的感應電荷-費曼圖?

有人可以逐行清楚說明一下,如何繪製這張圖嗎?

只需要清晰的 LaTex 程式碼就足夠了。謝謝你!

對於以下情況:方程式中的(1)或圖中的(2)。

在此輸入影像描述

答案1

這似乎可以解決問題。您可以相當簡單地調整兩條蛇的振幅和頻率。

\documentclass{standalone}

\usepackage{tikz}
\usetikzlibrary{calc,arrows,decorations.pathmorphing,decorations.markings}

\begin{document}

% How big you want the black circles on the ellipse
\newcommand\nodesize{.035cm}

\begin{tikzpicture}
% Left part of diagram
\draw[decorate,decoration={snake,amplitude=.5mm,segment length=2mm}] (0,0)--(1,0);
\draw[fill=black] (1,0) circle (.07);
\node at (1,.4) {$J^\mu$};
\node at (1.4,0) {$=$};
\draw (3,0) ellipse (.7 and .5);
% Black dots
\node[circle,fill=black,inner sep=\nodesize] (a) at (3.7,0){};
\node[circle,fill=black,inner sep=\nodesize] (b) at (3.35,.43){};
\node[circle,fill=black,inner sep=\nodesize] (c) at (2.65,.43){};
\node[circle,fill=black,inner sep=\nodesize] (d) at (2.3,0){};
\node[circle,fill=black,inner sep=\nodesize] (e) at (2.65,-.43){};
\node[circle,fill=black,inner sep=\nodesize] (f) at (3.35,-.43){};
% Arrow tips
\draw[draw=none,decoration={markings,mark=at position 1 with {\arrow[thick]{stealth}}},postaction={decorate}] (2.3,0) to [out=90,in=180] (3.05,.5);
\draw[draw=none,decoration={markings,mark=at position 1 with {\arrow[thick]{stealth}}},postaction={decorate}] (3.7,0) to [out=270,in=0] (2.95,-.5);
% Dotted lines and "X"s
\foreach \p\r in {a/0,b/60,c/120,e/240,f/300}{
  \draw[densely dashed] (\p)--+(\r:.5);
  \node[scale=.7,rotate=90+\r] at ($(\p)+(\r:.7)$) {$\mathsf X$};
}
% Squiggly line to ellipse
\draw[decorate,decoration={snake,amplitude=.5mm,segment length=2mm}] (d)--+(180:.6);
\end{tikzpicture}

\end{document}

這是結果:

在此輸入影像描述

編輯:也許較舊的發行版不支援多個索引,因此foreach透過將虛線和“X”部分更改為來完全刪除循環

% Dotted lines and "X"s
\draw[densely dashed] (a)--+(0:.5);
\node[scale=.7,rotate=90] at ($(a)+(0:.7)$) {\sf X};
\draw[densely dashed] (b)--+(60:.5);
\node[scale=.7,rotate=150] at ($(b)+(60:.7)$) {\sf X};
\draw[densely dashed] (c)--+(120:.5);
\node[scale=.7,rotate=210] at ($(c)+(120:.7)$) {\sf X};
\draw[densely dashed] (e)--+(240:.5);
\node[scale=.7,rotate=310] at ($(e)+(240:.7)$) {\sf X};
\draw[densely dashed] (f)--+(300:.5);
\node[scale=.7,rotate=30] at ($(f)+(300:.7)$) {\sf X};

相關內容