So I imported data from two txt files. However, I would like to plot the mean of the data and then the standard deviation bars. How can this be done?
\documentclass[tikz, convert = false]{standalone}
\usepackage{pgfplots}%
\pgfplotsset{compat = 1.8}%
\begin{document}
\pgfplotstableread{FRETData.txt}
\datatable%
\pgfplotstableread{FRETData2.txt}
\datatabletwo%
\begin{tikzpicture}
\begin{axis}[ymin = 0.16,
ymax = 0.22,
minor y tick num = 5,
xmin = -6.7,
xmax = -6.2
]
\addplot table[y = 1] from \datatable;
\addplot table[y = 1] from \datatabletwo;
\end{axis}
\end{tikzpicture}
\end{document}

From the picture, we see that pgfplots has connected two separate experiments. How can I remove the line? Can pgfplots calculate the mean for each experiment and put standard deviation bars?
Edit 1:
So to remove the lines, I added only marks option.
statisticslibrary shipped withpgfplots. I featuresboxplots. – Christian Feuersänger Nov 18 '13 at 19:30boxplotshelp you or do you need further assistance? In the first case I would close the question as being solved. – Stefan Pinnow Nov 02 '16 at 13:10