Added plots as pgfplots

This commit is contained in:
2020-03-10 11:09:58 +01:00
parent 642069e42a
commit ea7b2732bb
15 changed files with 144 additions and 10 deletions

View File

@@ -0,0 +1,29 @@
\begin{tikzpicture}
\begin{axis}[
xlabel ={True distance in \si{\meter}},
ylabel ={Mean distance in \si{\meter}},
legend pos=north west,
xmajorgrids=true,
%xminorgrids=true,
ymajorgrids=true,
%yminorgrids=true,
minor tick num=4,
xmin=0,
ymin=0,
xtick={0,4,8,12,16,20},
ytick={0,4,8,12,16,20,24}
]
% Groundtruth
\addplot [color=black] %
table[x=GT,y=GT,col sep=comma]{plots/data/intelmeanrange.csv};
\addlegendentry{Groundtruth}
% Pixel 2 XL
\addplot [color=red, mark=x] %
table[x=GT,y=N6Mean,col sep=comma]{plots/data/intelmeanrange.csv};
\addlegendentry{\intelOld}
% Pixel 3a
\addplot [color=blue, mark=x] %
table[x=GT,y=N7Mean,col sep=comma]{plots/data/intelmeanrange.csv};
\addlegendentry{\intelNew}
\end{axis}
\end{tikzpicture}