
I have found this code below:
Code: Select all
\begin{tikzpicture}
\begin{axis}[%
scatter/classes={%
a={mark=o,draw=black}}]
\addplot[scatter,only marks,%
scatter src=explicit symbolic]%
table[meta=label] {
x y label
-1 1.3 a
1 4.3 a
2 5.1 a
3 5.7 a
4 6.3 a
5 6.8 a
};
\end{axis}
\end{tikzpicture}
I have one question: How can I label the axes? An how can I indicate the mean of each axis with a line in the diagram?
Many greetings
