答案1
欢迎使用!您可以使用 Ti钾Z 就是那个。
\documentclass[tikz,border=3mm]{standalone}
\usetikzlibrary{arrows.meta,bending}
\begin{document}
\begin{tikzpicture}[bullet/.style={circle,inner sep=0.7ex},x=2cm,auto,bend angle=40]
\draw[->] (-2.5,0) -- (2.5,0);
\path (-1,0) node[bullet,draw=blue] (-a) {}
(0,0) node[bullet,fill=red] (0) {}
(1,0) node[bullet,draw=blue] (a) {};
\foreach \Y [count=\X starting from -2] in {-2a,-a,0,a,2a}
{\draw (\X,0.05) -- (\X,-0.1) node[below]{$\Y$};}
\draw[-{Stealth[bend]},thick] (0) to[bend left] node{$1/2$} (a);
\draw[-{Stealth[bend]},thick] (0) to[bend left] node{$1/2$} (-a);
\end{tikzpicture}
\end{document}
使用quotes
并不能使图表变得更好。