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.

82 lines
2.2 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{../abbreviations.tex}
\begin{document}
\begin{tikzpicture}
\def\datapath{\figurepath/data/choicenet_noisy_0.6}
\begin{axis}[
choicenet plot,
xlabel=,
name=p0,
]
\addplot[
data,
] table[
ignore chars={\#}, col sep=space, x=X, y=Y
] {\datapath/Xs_Ys.dat};
\end{axis}
\begin{axis}[
choicenet plot,
at={(p0.outer south east)},
anchor=north east,
xlabel=,
name=p1,
]
\addplot[
data,
mark=triangle*,
first full,
] table[
ignore chars={\#}, col sep=space, x=X, y=Y
] {\datapath/Xs_Ys_attrib_separated_0.dat};
\addplot[
data,
mark=square*,
second full,
] table[
ignore chars={\#}, col sep=space, x=X, y=Y
] {\datapath/Xs_Ys_attrib_separated_1.dat};
\end{axis}
\begin{axis}[
choicenet plot,
at={(p1.outer south east)},
anchor=north east,
name=p2,
]
\addplot[
data,
] table[
ignore chars={\#}, col sep=space, x=X, y=Y
] {\datapath/Xs_Ys.dat};
\addplot[std, second, name path=minus]
table[ignore chars={\#}, col sep=space, x=X, y expr=\thisrow{mu}-0.5 - \thisrow{2std}] {\datapath/Xt_mode_1.dat};
\addplot[std, second, name path=plus]
table[ignore chars={\#}, col sep=space, x=X, y expr=\thisrow{mu}-0.5 + \thisrow{2std}] {\datapath/Xt_mode_1.dat};
\addplot[second fill]
fill between[of=plus and minus];
\addplot[mean, second]
table[ignore chars={\#}, col sep=space, x=X, y expr=\thisrow{mu}-0.5] {\datapath/Xt_mode_1.dat};
\addplot[std, first, name path=plus]
table[ignore chars={\#}, col sep=space, x=X, y expr=\thisrow{mu} + \thisrow{2std}] {\datapath/Xt_mode_0.dat};
\addplot[std, first, name path=minus]
table[ignore chars={\#}, col sep=space, x=X, y expr=\thisrow{mu} - \thisrow{2std}] {\datapath/Xt_mode_0.dat};
\addplot[first fill]
fill between[of=plus and minus];
\addplot[mean, first]
table[ignore chars={\#}, col sep=space, x=X, y=mu] {\datapath/Xt_mode_0.dat};
\end{axis}
\end{tikzpicture}
\end{document}