答案1
您可以使用
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\draw[->](-4,0)--(6,0)node[below]{$x$};
\draw[->](0,-2)--(0,8)node[left]{$t$};
\foreach \i in {3,4,5}
{
\draw[xshift=\i cm](0,0)--(0,7);
}
\foreach \i in {0,1,2,3}
{
\draw(\i,0)--(3,3);
}
\foreach \i in {-3,-2,-1,0}
{
\draw[xshift=\i cm](0,0)--(45:7);
}
\node[below] at (3,0) {$1$};
\node[left] at (0,3) {$1$};
\end{tikzpicture}
\end{document}