| 1 | \begin{tikzpicture}[scale=0.5] |
| 2 | |
| 3 | % Axis |
| 4 | \draw[<->, thick] (0,4) node (yaxis) [left] {$X_t$} |
| 5 | |- (11,0) node (xaxis) [right] {$t$} ; |
| 6 | % Dashed grid |
| 7 | \foreach \t in {1, 2, 3, 4, 5, 6} |
| 8 | \draw[dashed, color=PineGreen] (1.5*\t cm, 4) -- (1.5*\t cm, -3pt) |
| 9 | node[anchor=north] {$\t \delta$}; |
| 10 | |
| 11 | \draw[color=PineGreen] plot[smooth] file {tikz/data.dat}; |
| 12 | |
| 13 | \draw (0,0) -- (0,-3pt) node[below, color= PineGreen] {0}; |
| 14 | \draw[dashed, color=PineGreen] (1.5*7,4) -- (1.5*7,-3pt) |
| 15 | node[below] {};%$T+\delta$ |
| 16 | |
| 17 | \foreach \t in {1, 2, 5} |
| 18 | \draw[color=PineGreen] (-0.75+1.5*\t, 1.5) node[below, scale=0.75] {$Z_\t(t)$}; |
| 19 | |
| 20 | \foreach \t in {3, 4, 6} |
| 21 | \draw[color=PineGreen] (-0.75+1.5*\t, 3.5) node[below, scale=0.75] {$Z_\t(t)$}; |
| 22 | |
| 23 | \end{tikzpicture} |