\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/pixelmeanrange.csv}; \addlegendentry{Groundtruth} % Pixel 2 XL \addplot [color=red, mark=x] % table[x=GT,y=P2Mean,col sep=comma]{plots/data/pixelmeanrange.csv}; \addlegendentry{\pixelOld} % Pixel 3a \addplot [color=blue, mark=x] % table[x=GT,y=P3Mean,col sep=comma]{plots/data/pixelmeanrange.csv}; \addlegendentry{\pixelNew} \end{axis} \end{tikzpicture}