This repository has been archived on 2020-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Files
FtmPrologic/tex/plots/BSTPlot2.pgf
2020-03-25 17:18:17 +01:00

28 lines
955 B
Plaintext

\documentclass[tikz]{standalone}
\input{../PlotPreamble.tex}
\begin{document}
\small
\begin{tikzpicture}
\begin{axis}[
%width=15.7cm,
width=8.2cm,
height=6.5cm,
xlabel ={Measurement point},
ylabel ={Distance in \si{\meter}},
legend pos=north east,
xmajorgrids=true,
%xminorgrids=true,
ymajorgrids=true,
%yminorgrids=true,
enlarge x limits=false,
%enlarge y limits=false,
xtick={1,2,3,4,5,6,7,8,9,10,11,12,13},
ytick distance=5
]
%\draw ({axis cs:7,0}|-{rel axis cs:0,1}) -- ({axis cs:7,0}|-{rel axis cs:0,0});
\addplot [color=black] table[x=X,y=GT,col sep=comma]{../data/BSTMean2.csv}; \addlegendentry{Groundtruth}
\addplot [color=blue] table[x=X,y=MeanDist,col sep=comma]{../data/BSTMean2.csv}; \addlegendentry{Mean distance}
\addplot [color=orange, mark=x, only marks, mark size=1.5pt, line width=0.5pt] table[x=X,y=Y,col sep=comma]{../data/BSTData2.csv}; \addlegendentry{Measured distance}
\end{axis}
\end{tikzpicture}
\end{document}