Moved pgf plots into own tex files

This commit is contained in:
2020-03-11 18:17:31 +01:00
parent df12e7ef15
commit 70eca36151
18 changed files with 186 additions and 84 deletions

View File

@@ -1,5 +1,11 @@
\documentclass[tikz]{standalone}
\input{../PlotPreamble.tex}
\begin{document}
\small
\begin{tikzpicture}
\begin{axis}[
width=8cm,
height=8cm,
xlabel ={True distance in \si{\meter}},
ylabel ={Mean distance in \si{\meter}},
legend pos=north west,
@@ -15,15 +21,16 @@
]
% Groundtruth
\addplot [color=black] %
table[x=GT,y=GT,col sep=comma]{plots/data/pixelmeanrange.csv};
table[x=GT,y=GT,col sep=comma]{../data/pixelmeanrange.csv};
\addlegendentry{Groundtruth}
% Pixel 2 XL
\addplot [color=red, mark=x] %
table[x=GT,y=P2Mean,col sep=comma]{plots/data/pixelmeanrange.csv};
table[x=GT,y=P2Mean,col sep=comma]{../data/pixelmeanrange.csv};
\addlegendentry{\pixelOld}
% Pixel 3a
\addplot [color=blue, mark=x] %
table[x=GT,y=P3Mean,col sep=comma]{plots/data/pixelmeanrange.csv};
table[x=GT,y=P3Mean,col sep=comma]{../data/pixelmeanrange.csv};
\addlegendentry{\pixelNew}
\end{axis}
\end{tikzpicture}
\end{tikzpicture}
\end{document}