You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

153 lines
4.1 KiB

\documentclass[beamer,tikz,crop]{standalone}
\input{preamble/tikz_standalone.tex}
\input{preamble/tikz_common.tex}
\input{preamble/tikz_style.tex}
\input{preamble/tikz_colors.tex}
\input{preamble/tikz_jumping.tex}
\input{../abbreviations.tex}
\begin{document}
\savebox{\marksavebox}{$
\begin{aligned}
\Prob{\Delta\mat{x}_{t+1}}
&= \Prob{\Delta\mat{x}_{t+1} \given \text{drop}} \cdot
\tikzmark{dropa}
\Prob{\text{drop}}
\tikzmark{dropb}
\\
&\qquad +
\tikzmark{deltaa}
\Prob{\Delta\mat{x}_{t+1} \given \text{no drop}}
\tikzmark{deltab}
\cdot \Prob{\text{no drop}}
\end{aligned}
$}%
\begin{tikzpicture}[remember picture, stop jumping]
\def\datapath{\figurepath/data}
\node at (0pt, 50pt) {\usebox{\marksavebox}};
\only<2->{
\begin{axis}[
at={(-135pt, -110pt)},
result plot,
width=.325\plottextwidth,
height=.325\plottextwidth,
% colormap/YlGn,
colormap/YlGnBu,
slim colorbar right,
point meta min=0,
point meta max=3,
title style={align=center},
title={Flow\\$\Moment{\E}{\Delta\mat{x}_{t+1} \given \text{no drop}}$},
name=speed_mean,
]
\addplot[
surf,
mesh/rows=35,
mesh/cols=35,
% point meta={\thisrow{speed} * \thisrow{a0}},
point meta={\thisrow{speed_diff}},
] table[
ignore chars={\#}, col sep=space, x=Y, y=X,
] {\datapath/speed_mean.dat};
\addwaterfall
\end{axis}
\begin{axis}[
at={(-15pt, -110pt)},
result plot,
ylabel=,
yticklabels={,,},
width=.325\plottextwidth,
height=.325\plottextwidth,
colormap/YlOrRd,
slim colorbar right,
point meta min=0.,
point meta max=1.5,
title style={align=center},
title={Turbulence\\$\Moment{\sigma}{\Delta\mat{x}_{t+1} \given \text{no drop}}$},
name=hetero_noise,
]
\addplot[
surf,
mesh/rows=35,
mesh/cols=35,
point meta={\thisrow{std} * \thisrow{a0}},
% point meta={\thisrow{std}},
] table[
ignore chars={\#}, col sep=space, x=Y, y=X,
] {\datapath/hetero_noise.dat};
\addwaterfall
\end{axis}
\begin{scope}[on background layer]
\node[
fit=(speed_mean)(hetero_noise)(hetero_noise.outer north)(hetero_noise.outer south),
inner xsep=30pt,
] (fplots) {};
\draw [very thick, dashed, sStoneLight, fill=sStone, fill opacity=.1]
($(pic cs:deltaa) + (-1pt, 10pt)$) --
($(pic cs:deltaa) + (-1pt, -4pt)$) |-
(fplots.north west) --
(fplots.south west) --
(fplots.south east) --
(fplots.north east) -|
($(pic cs:deltab) + (1pt, -4pt)$) --
($(pic cs:deltab) + (1pt, 10pt)$) -- cycle
;
\end{scope}
\begin{axis}[
at={(140pt, -10pt)},
result plot,
width=.325\plottextwidth,
height=.325\plottextwidth,
colormap/YlGn,
slim colorbar right,
point meta min=0.,
point meta max=1.,
title={$\Prob{\text{drop}}$},
name=falldown_probabilities,
]
\addplot[
surf,
mesh/rows=35,
mesh/cols=35,
point meta={\thisrow{a1}},
] table[
ignore chars={\#}, col sep=space, x=Y, y=X,
] {\datapath/falldown_probabilities.dat};
\addwaterfall
\end{axis}
\begin{scope}[on background layer]
\node[
fit=(falldown_probabilities),
inner xsep=30pt, inner ysep=30pt,
] (fplots) {};
\draw [very thick, dashed, sStoneLight, fill=sStone, fill opacity=.1]
($(pic cs:dropb) + (1pt, 10pt)$) --
($(pic cs:dropa) + (-1pt, 10pt)$) --
($(pic cs:dropa) + (-1pt, -4pt)$) --
($(pic cs:dropb) + (1pt, -4pt)$) -|
(fplots.south west) --
(fplots.south east) --
(fplots.north east) --
(fplots.north west) |-
cycle
;
\end{scope}
}
\end{tikzpicture}
\end{document}