如何建立債券定價圖表?

如何建立債券定價圖表?

我正在寫一篇論文,需要建立零息債券定價的基本圖表,如下所示:

在此輸入影像描述

先致謝!

答案1

\documentclass[]{article}

\usepackage{tikz}
\usepackage{amssymb}

\begin{document}

%---------------------------------------------------------
    \begin{tikzpicture}
    \coordinate (A) at (0,0);
    \coordinate (B) at (10,0);

    \draw[|-|] 
        (A)
        node at (A) [above=5pt,color =green] {$P_{t,M}$} 
        node at (A) [below=5pt,color =green] {$t$}
        --
        (B)
        node at (B) [above=5pt,color =green] {$N$}
        node at (B) [below=5pt,color =green] {$t + M$};
\end{tikzpicture}
%---------------------------------------------------------

\end{document}

相關內容