I'm fairly new to pgfplots and latex and strugling a bit with connecting points in pgfplots.
I have a bunch of points and want pgfplots to connect each point to the point next to them. To get a line around all points. Here is my code so far:
\documentclass {article}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.5}
\begin{document}
\begin{tikzpicture}
\begin{axis} [
xmin=0,
title={test},
grid=major,
width=10cm,
]
\addplot table [
col sep=semicolon,
mark=+
]
{data.dat};
\end{axis}
\end{tikzpicture}
\end{document}
But instead of connecting each point to the next one it does something like this:

Is there anyone how can help me?
data.datbut without this file it is hard to tell. – albert Aug 05 '18 at 08:58data.datwe can't really reproduce this easily and so it will be difficult to help you if we have to make up data points before we can even investigate what is going on. – moewe Aug 12 '18 at 16:19