Browse Source

Add result plots

master
Markus Kaiser 3 years ago
parent
commit
0782ae1164
  1. 6
      esann-talk/figures/falldown_probabilities.tex
  2. 10
      esann-talk/figures/hetero_noise.tex
  3. 21
      esann-talk/figures/policy_quiver.tex
  4. 139
      esann-talk/figures/preamble/tikz_common.tex
  5. 11
      esann-talk/figures/preamble/tikz_style.tex
  6. 35
      esann-talk/interpretable_dynamics_models.tex

6
esann-talk/figures/falldown_probabilities.tex

@ -10,10 +10,12 @@
\def\datapath{\figurepath/data}
\begin{axis}[
result plot,
width=.45\plottextwidth,
height=.35\plottextwidth,
width=.4\plottextwidth,
height=.4\plottextwidth,
colormap name=viridis,
slim colorbar right,
point meta min=0.,
point meta max=1.,
]
\addplot[

10
esann-talk/figures/hetero_noise.tex

@ -12,10 +12,12 @@
result plot,
ylabel=,
yticklabels={,,},
width=.45\plottextwidth,
height=.35\plottextwidth,
colormap name=viridis,
slim colorbar left,
width=.4\plottextwidth,
height=.4\plottextwidth,
colormap/inferno,
slim colorbar right,
point meta min=0.,
point meta max=1.5,
]
\addplot[

21
esann-talk/figures/policy_quiver.tex

@ -10,18 +10,27 @@
\def\datapath{\figurepath/data}
\begin{axis}[
result plot,
width=.45\plottextwidth,
height=.35\plottextwidth,
colormap name=viridis,
width=.4\plottextwidth,
height=.4\plottextwidth,
colormap/RdYlBu,
]
\addplot[
point meta={abs(\thisrow{aR})},
surf,
mesh/rows=20,
mesh/cols=20,
opacity=0.75,
point meta={-abs(\thisrow{aR})},
] table[
ignore chars={\#}, col sep=space, x=Y, y=X,
] {\datapath/policy_quiver.dat};
\addplot[
quiver={%
u={\thisrow{aX}},
v={\thisrow{aY}},
scale arrows=0.25,
every arrow/.append style={quiver arrow, mapped color},
scale arrows=0.2,
every arrow/.append style={quiver arrow, sStoneDark},
},
] table[
ignore chars={\#}, col sep=space, x=Y, y=X,

139
esann-talk/figures/preamble/tikz_common.tex

@ -30,11 +30,146 @@
\tikzstyle{with struts} = [execute at begin node={\strut}, execute at end node={\strut}]
% (PGF) Plot styles
\usepgfplotslibrary{colorbrewer}
\usepgfplotslibrary{colormaps}
\usepgfplotslibrary{fillbetween}
\usepgfplotslibrary{patchplots}
\usepgfplotslibrary{colormaps}
\pgfplotsset{filter discard warning=false}
\pgfplotsset{unbounded coords=discard}
\newlength{\plottextwidth}
\setlength{\plottextwidth}{347.12354pt}
\setlength{\plottextwidth}{398.3386pt}
% PGF colormaps
\pgfplotsset{
% Add the cousins of the Viridis colormap
colormap/magma/.style={%
/pgfplots/colormap={magma}{%
rgb=(0.001462, 0.000466, 0.013866)
rgb=(0.035520, 0.028397, 0.125209)
rgb=(0.102815, 0.063010, 0.257854)
rgb=(0.191460, 0.064818, 0.396152)
rgb=(0.291366, 0.064553, 0.475462)
rgb=(0.384299, 0.097855, 0.501002)
rgb=(0.475780, 0.134577, 0.507921)
rgb=(0.569172, 0.167454, 0.504105)
rgb=(0.664915, 0.198075, 0.488836)
rgb=(0.761077, 0.231214, 0.460162)
rgb=(0.852126, 0.276106, 0.418573)
rgb=(0.925937, 0.346844, 0.374959)
rgb=(0.969680, 0.446936, 0.360311)
rgb=(0.989363, 0.557873, 0.391671)
rgb=(0.996580, 0.668256, 0.456192)
rgb=(0.996727, 0.776795, 0.541039)
rgb=(0.992440, 0.884330, 0.640099)
rgb=(0.987053, 0.991438, 0.749504)
},
},
colormap/inferno/.style={%
/pgfplots/colormap={inferno}{%
rgb=(0.001462, 0.000466, 0.013866)
rgb=(0.037668, 0.025921, 0.132232)
rgb=(0.116656, 0.047574, 0.272321)
rgb=(0.217949, 0.036615, 0.383522)
rgb=(0.316282, 0.053490, 0.425116)
rgb=(0.410113, 0.087896, 0.433098)
rgb=(0.503493, 0.121575, 0.423356)
rgb=(0.596940, 0.154848, 0.398125)
rgb=(0.688653, 0.192239, 0.357603)
rgb=(0.775059, 0.239667, 0.303526)
rgb=(0.851384, 0.302260, 0.239636)
rgb=(0.912966, 0.381636, 0.169755)
rgb=(0.956852, 0.475356, 0.094695)
rgb=(0.981895, 0.579392, 0.026250)
rgb=(0.987464, 0.690366, 0.079990)
rgb=(0.973088, 0.805409, 0.216877)
rgb=(0.947594, 0.917399, 0.410665)
rgb=(0.988362, 0.998364, 0.644924)
},
},
colormap/plasma/.style={%
/pgfplots/colormap={plasma}{%
rgb=(0.050383, 0.029803, 0.527975)
rgb=(0.186213, 0.018803, 0.587228)
rgb=(0.287076, 0.010855, 0.627295)
rgb=(0.381047, 0.001814, 0.653068)
rgb=(0.471457, 0.005678, 0.659897)
rgb=(0.557243, 0.047331, 0.643443)
rgb=(0.636008, 0.112092, 0.605205)
rgb=(0.706178, 0.178437, 0.553657)
rgb=(0.768090, 0.244817, 0.498465)
rgb=(0.823132, 0.311261, 0.444806)
rgb=(0.872303, 0.378774, 0.393355)
rgb=(0.915471, 0.448807, 0.342890)
rgb=(0.951344, 0.522850, 0.292275)
rgb=(0.977856, 0.602051, 0.241387)
rgb=(0.992541, 0.687030, 0.192170)
rgb=(0.992505, 0.777967, 0.152855)
rgb=(0.974443, 0.874622, 0.144061)
rgb=(0.940015, 0.975158, 0.131326)
},
},
colormap/jpeBlWhBl/.style={%
/pgfplots/colormap={jpeReWhBl}{%
rgb=(0.094957, 0.211745, 0.949475)
rgb=(0.149676, 0.288182, 0.889340)
rgb=(0.210373, 0.340936, 0.846637)
rgb=(0.268241, 0.383971, 0.815988)
rgb=(0.322709, 0.422216, 0.794156)
rgb=(0.374335, 0.457967, 0.779078)
rgb=(0.423724, 0.492464, 0.769388)
rgb=(0.471369, 0.526452, 0.764155)
rgb=(0.517653, 0.560415, 0.762732)
rgb=(0.562866, 0.594688, 0.764671)
rgb=(0.607234, 0.629520, 0.769662)
rgb=(0.650934, 0.665108, 0.777508)
rgb=(0.694107, 0.701609, 0.788103)
rgb=(0.736875, 0.739156, 0.801431)
rgb=(0.779363, 0.777851, 0.817590)
rgb=(0.821732, 0.817752, 0.836891)
rgb=(0.863910, 0.858922, 0.860421)
rgb=(0.902313, 0.903243, 0.885111)
rgb=(0.879049, 0.855058, 0.839087)
rgb=(0.860371, 0.806330, 0.794603)
rgb=(0.843643, 0.758010, 0.750027)
rgb=(0.828754, 0.709912, 0.704933)
rgb=(0.815142, 0.662021, 0.659169)
rgb=(0.802302, 0.614305, 0.612550)
rgb=(0.789774, 0.566724, 0.564903)
rgb=(0.777122, 0.519227, 0.516091)
rgb=(0.763930, 0.471751, 0.466024)
rgb=(0.749803, 0.424208, 0.414668)
rgb=(0.734369, 0.376470, 0.362052)
rgb=(0.717286, 0.328322, 0.308250)
rgb=(0.698243, 0.279394, 0.253349)
rgb=(0.676967, 0.228987, 0.197339)
rgb=(0.653216, 0.175627, 0.139788)
rgb=(0.626782, 0.115406, 0.078551)
rgb=(0.597480, 0.029268, 0.008874)
},
},
colormap/jpeWhRe/.style={%
/pgfplots/colormap={jpeWhRe}{%
rgb=(0.902313, 0.903243, 0.885111)
rgb=(0.879049, 0.855058, 0.839087)
rgb=(0.860371, 0.806330, 0.794603)
rgb=(0.843643, 0.758010, 0.750027)
rgb=(0.828754, 0.709912, 0.704933)
rgb=(0.815142, 0.662021, 0.659169)
rgb=(0.802302, 0.614305, 0.612550)
rgb=(0.789774, 0.566724, 0.564903)
rgb=(0.777122, 0.519227, 0.516091)
rgb=(0.763930, 0.471751, 0.466024)
rgb=(0.749803, 0.424208, 0.414668)
rgb=(0.734369, 0.376470, 0.362052)
rgb=(0.717286, 0.328322, 0.308250)
rgb=(0.698243, 0.279394, 0.253349)
rgb=(0.676967, 0.228987, 0.197339)
rgb=(0.653216, 0.175627, 0.139788)
rgb=(0.626782, 0.115406, 0.078551)
rgb=(0.597480, 0.029268, 0.008874)
},
},
% Set Viridis as the default colormap
colormap/viridis,
}

11
esann-talk/figures/preamble/tikz_style.tex

@ -20,9 +20,9 @@
fill opacity=.5,
sStoneDark,
}}
\pgfplotsset{
/pgfplots/colormap={firstsecond}{color=(sTealDark) color=(sStone) color=(sGreenLight)}
}
% \pgfplotsset{
% /pgfplots/colormap={firstsecond}{color=(sTealDark) color=(sStone) color=(sGreenLight)}
% }
\pgfplotsset{model plot/.style = {
grid=major,
% enlarge x limits=false,
@ -64,8 +64,9 @@
\tikzstyle{second} = [sGreenLight]
\tikzstyle{second fill} = [sGreenDark, opacity=0.3]
\tikzstyle{quiver arrow} = [thick, -{Latex[length=2pt]}]
% \tikzstyle{quiver arrow} = [thick, -{Latex[length=2pt]}]
\tikzstyle{quiver arrow} = [-{Stealth[length=4pt, round]}]
\tikzstyle{waterfall} = [draw=none, fill=sStone]
\newcommand{\addwaterfall}{%
\draw[waterfall] (0,5) rectangle (5, 5.2) node[midway, above=-1pt] {waterfall};
\draw[waterfall] (0, 5) rectangle (5, 5.25) node[midway, above] {waterfall};
}

35
esann-talk/interpretable_dynamics_models.tex

@ -45,6 +45,8 @@
\selectlanguage{english}
% Figures
\providecommand{\figurepath}{figures}
\input{abbreviations.tex}
\input{figures/preamble/tikz_common.tex}
\input{figures/preamble/tikz_style.tex}
@ -87,7 +89,7 @@
}
\includeonlyframes{graphical_model_rl}
\includeonlyframes{policy}
\begin{document}
@ -108,20 +110,11 @@
\end{frame}
\begin{frame}[label=boxes]{Boxes}
\begin{definition}[Blurgh]
blö!
\end{definition}
\begin{example}[Bla]
Blubb!
\end{example}
\begin{block}{Mrrrbl}
Yo!
\end{block}
\begin{alertblock}{Brrgl}
Wurrrrgl!
\end{alertblock}
\structure{Hey} \alert{Ho!}
\begin{frame}[label=wetchicken]{Wetchicken Benchmark}
\begin{itemize}
\item High level ideas about the benchmark
\item Probably can just skip the true dynamics?
\end{itemize}
\end{frame}
@ -146,4 +139,16 @@
\end{frame}
\begin{frame}[label=results]{Interpretable Results}
\centering
\includestandalone{figures/falldown_probabilities}
\includestandalone{figures/hetero_noise}
\end{frame}
\begin{frame}[label=policy]{Policy}
\centering
\includestandalone{figures/policy_quiver}
\end{frame}
\end{document}

Loading…
Cancel
Save