[Tex/LaTex] Draw Cash Flow Diagram

diagrams

enter image description here

Hi i was wondering how to draw this diagram in latex.

Thanks so much.

Best Answer

As DLichti is saying you could use TikZ.

\documentclass[tikz,border=3.14mm]{standalone}
\begin{document}
\begin{tikzpicture}
 \draw[->] (0,0) -- (5.4,0);
 \foreach \X in {0,...,3}
  {\draw[thick,-latex] (\X,-0.1) node[below]{$\X$} -- ++(0,0.6) node[above]{$1$};}
 \draw[thick,-latex] (4.6,-0.1) node[below]{$n-1$} -- ++(0,0.6) node[above]{$1$};
 \node at (3.8,0.4) {$\cdots$};
\end{tikzpicture}
\end{document}

enter image description here

Related Question