
答案1
既然您說您知道一些 TikZ 命令,那麼這是一個起點。如果您不明白或遇到困難,請隨時發表評論。
輸出
程式碼
\documentclass[margin=10pt]{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\tikzset{
double/.style={shorten <= 3mm, shorten >= 2mm}
}
\begin{document}
\begin{tikzpicture}
\draw[red!50!black] (0,0) .. controls (3,2.5) and (5,-2.5) .. (7,0)
\foreach \x [evaluate=\x as \pos using ((10/5)*.\x)] in {0,...,5}{
node[pos=\pos, circle, fill=red!50!black] (a\x) {}
};
\draw (-1,-2) coordinate (O) -- (8,-2);
\foreach \y in {0,...,5}{
\draw[double, -{Latex}] (a\y.south east) -- (a\y.south east|-O);
\draw[double, -{Latex}] (a\y.south west|-O) -- (a\y.south west);
}
\end{tikzpicture}
\end{document}