rename latex --> communication
[ppam-mpi.git] / communication / slides / tikz / axis.tex
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*6 cm, 4) -- (1.5*6 cm, -3pt)
9 node[anchor=north] {$T $};
10
11 \draw[dashed, color=PineGreen] (1.5*7,4) -- (1.5*7,-3pt)
12 node[below] {$T+\delta$};
13
14 \draw[color=Gray] plot[only marks, mark = *] file {tikz/data0.dat};
15 \draw[color=PineGreen] plot[smooth] file {tikz/data.dat};
16
17 \draw (0,0) -- (0,-3pt) node[below, color= PineGreen] {0};
18
19 % \foreach \t in {1, 2, 5}
20 % \draw[color=PineGreen] (-0.75+1.5*\t, 1.5) node[below, scale=0.75] {$Z_\t(t)$};
21
22 % \foreach \t in {3, 4, 6}
23 % \draw[color=PineGreen] (-0.75+1.5*\t, 3.5) node[below, scale=0.75] {$Z_\t(t)$};
24
25 \end{tikzpicture}