Files
@ e830557936e0
Branch filter:
Location: AENC/resampling_chain/tex/diagram_paths.tex - annotation
e830557936e0
2.3 KiB
text/x-tex
Move all files to `tex` folder
415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 0aef3bd8b292 0aef3bd8b292 415095330321 0aef3bd8b292 0aef3bd8b292 0aef3bd8b292 415095330321 0aef3bd8b292 415095330321 0aef3bd8b292 0aef3bd8b292 415095330321 9f86b29b20b0 9f86b29b20b0 0aef3bd8b292 0aef3bd8b292 9f86b29b20b0 9f86b29b20b0 0aef3bd8b292 415095330321 415095330321 9f86b29b20b0 0aef3bd8b292 0aef3bd8b292 415095330321 0aef3bd8b292 415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 0aef3bd8b292 415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 415095330321 0aef3bd8b292 415095330321 415095330321 415095330321 415095330321 415095330321 | \documentclass{standalone}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{parskip}
\usepackage{marvosym} %Lightning symbol
\usepackage[usenames,dvipsnames]{color}
\usepackage[hidelinks]{hyperref}
\renewcommand*{\familydefault}{\sfdefault}
\usepackage{bbm} %For \mathbbm{1}
%\usepackage{bbold}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\def\height{4};
\draw[step=1cm,gray,dotted] (-0.9,-0.9) grid (8.9,\height+0.9);
\foreach \x in {0,...,7} {
\foreach \y in {1,...,\height} {
\draw[->] (\x,\y-1) -- (\x+0.9,\y-1);
\draw[->] (\x,\y-1) -- (\x,\y-1+0.9);
}
\draw [->] (\x,\height) -- (\x+0.9,\height);
}
\foreach \y in {1,...,\height} %somehow the loop cant go to '\height-1'
\draw [->] (8,\y-1) -- (8,\y-1+0.9); % so we fix it like this with '\y-1'
\draw(-0.1,-0.4) node {$b_1\land b_2$};
\draw(8,-0.4) node {$\mathbf{1} \land b_2$};
\draw (-0.2,\height+0.3) node {$b_1\land\mathbf{1}$};
\draw (8.2,\height+0.3) node {$\mathbf{1}$};
\draw (4,-0.5) node {$\to$ steps of $\xi_1$};
\node[rotate=90,anchor=south,xshift=2cm,yshift=0.5cm] {$\to$ steps of $\xi_2$};
\draw[fill,red] (0,0) circle (0.08);
\draw[fill,red] (8,0) circle (0.05);
\draw[fill,red] (0,\height) circle (0.05);
\draw[fill,red] (8,\height) circle (0.08);
\def\x{6};
\def\y{3};
\draw[fill,black] (\x,\y) circle (0.07);
\draw[fill=white,draw=black] (\x+0.25,\y-0.26) rectangle +(0.5,0.5);
\draw[fill=white,draw=black] (\x-0.50,\y+0.26) rectangle +(1.0,0.5);
\draw (\x+0.5,\y) node {$p_j$};
\draw (\x,\y+0.5) node {$1-p_j$};
\def\x{2};
\def\y{1};
\draw[fill,black] (\x,\y) circle (0.07);
\draw[fill=white,draw=black] (\x+0.25,\y-0.26) rectangle +(0.5,0.5);
\draw[fill=white,draw=black] (\x-0.50,\y+0.26) rectangle +(1.0,0.5);
\draw (\x+0.5,\y) node {$p_i$};
\draw (\x,\y+0.5) node {$1-p_i$};
\def\x{8};
\def\y{1};
\draw[fill,black] (\x,\y) circle (0.07);
\draw[fill=white,draw=black] (\x-0.25,\y+0.26) rectangle +(0.5,0.5);
\draw (\x,\y+0.5) node {$1$};
\def\x{3};
\def\y{\height};
\draw[fill,black] (\x,\y) circle (0.07);
\draw[fill=white,draw=black] (\x+0.25,\y-0.25) rectangle +(0.5,0.5);
\draw (\x+0.5,\y) node {$1$};
\end{tikzpicture}
\end{document}
|