![帮忙绘制这样的时间线](https://linux22.com/image/434282/%E5%B8%AE%E5%BF%99%E7%BB%98%E5%88%B6%E8%BF%99%E6%A0%B7%E7%9A%84%E6%97%B6%E9%97%B4%E7%BA%BF.png)
答案1
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{positioning, arrows.meta}
\begin{document}
\begin{figure}
\centering
\begin{tikzpicture}
\draw[->] (0,0) to (10,0);
\foreach \x/\q/\w in {1/Text1,4/Text2,6/Text3,9/Text4}{
\draw[line width=1pt, red] (\x,-2mm) node[below, black](\x){\q} -- (\x,2mm);
}
\draw[dashed, blue, semithick] (5,2) node[left, xshift=-2.5cm]{Period1} node[right, xshift=2.5cm]{Period2} --(5,-2);
\end{tikzpicture}
\caption{Time Line Diagram} \label{fig:M1}
\end{figure}
\end{document}
编辑以回应 OP 问题
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{positioning, arrows.meta}
\begin{document}
\begin{figure}
\centering
\begin{tikzpicture}
\draw[->] (0,0) to (10,0);
\foreach \x/\q/\w in {1/Text1,4/Text2,6/Text3,9/Text4}{
\draw[line width=1pt, red] (\x,-2mm) node[below, black](\x){\q} -- (\x,2mm);
}
\draw[dashed, blue, semithick] (5,2) node[left, xshift=-2.5cm, yshift=-1cm]{Period1} node[right, xshift=2.5cm]{Period2} --(5,-2);
\end{tikzpicture}
\caption{Time Line Diagram} \label{fig:M1}
\end{figure}
\end{document}