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,6 +1,11 @@
\documentclass[tikz]{standalone}
\input{../PlotPreamble.tex}
\begin{document}
\small
\begin{tikzpicture}
\begin{axis}[
scale only axis,
width=9cm,
height=6.5cm
xlabel ={Measurement point},
ylabel ={Distance in \si{\meter}},
legend pos=north east,
@@ -13,8 +18,9 @@
ymin=0,
xtick={1,2,3,4,5,6,7},
]
\addplot [color=black] table[x=X,y=GT,col sep=comma]{plots/data/BSTMean1.csv}; \addlegendentry{Groundtruth}
\addplot [color=blue] table[x=X,y=MeanDist,col sep=comma]{plots/data/BSTMean1.csv}; \addlegendentry{Mean distance}
\addplot [color=orange, mark=x, only marks, mark size=1pt] table[x=X,y=Y,col sep=comma]{plots/data/BSTData1.csv}; \addlegendentry{Measured distance}
\addplot [color=black] table[x=X,y=GT,col sep=comma]{../data/BSTMean1.csv}; \addlegendentry{Groundtruth}
\addplot [color=blue] table[x=X,y=MeanDist,col sep=comma]{../data/BSTMean1.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/BSTData1.csv}; \addlegendentry{Measured distance}
\end{axis}
\end{tikzpicture}
\end{tikzpicture}
\end{document}