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,8 +1,11 @@
\documentclass[tikz]{standalone}
\input{../PlotPreamble.tex}
\begin{document}
\small
\begin{tikzpicture}
\begin{axis}[
scale only axis,
width=0.8\textwidth,
height=0.4\textwidth,
width=15.7cm,
height=6.5cm,
xlabel ={Measurement point},
ylabel ={Distance in \si{\meter}},
legend pos=north east,
@@ -14,8 +17,9 @@
%enlarge y limits=false,
]
%\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]{plots/data/BSTMean2.csv}; \addlegendentry{Groundtruth}
\addplot [color=blue] table[x=X,y=MeanDist,col sep=comma]{plots/data/BSTMean2.csv}; \addlegendentry{Mean distance}
\addplot [color=orange, mark=x, only marks, mark size=1pt] table[x=X,y=Y,col sep=comma]{plots/data/BSTData2.csv}; \addlegendentry{Measured distance}
\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{tikzpicture}
\end{document}