I want to label the intersection point of the green and red curve. Anything I tried didn't work. Can somebody help me? This is my code so far.
\usepackage{pgfplots}
\pgfplotsset{compat=1.11}
\usepackage{Tikz}
\usetikzlibrary{intersections}
\begin{document}
\begin{figure}[H]
\begin{tikzpicture}
\begin{axis}[
width=0.95\textwidth,
height=0.6\textwidth,
xlabel={Knotenanzahl},
ylabel={Ergebnisse in \%},
axis lines=left,
xmin=0,
xmax=370,
xtick={0,49,100,149,200,249,300,349},
ymin=0,
ymax=110,
thick,
grid=both,
legend style={at={(1.05,0.5)},anchor=west}
]
\addplot[color = red,smooth,thick,mark=x,name path=h1] plot coordinates {
(0,0)
(49,27.5)
(99,45.5)
(149,70.5)
(199,85.5)
(249,95)
(299,98.5)
(349,100)
};
\addplot[color = blue,smooth,thick,mark=x,name path=h2] plot coordinates {
(0,0)
(49,18)
(99,14.5)
(149,4.5)
(199,0)
(249,0)
(299,0.5)
(349,0)
};
\addplot[color = Green,smooth,thick,mark=x,name path=h3] plot coordinates {
(0,0)
(49,54.5)
(99,40)
(149,25)
(199,14.5)
(249,5)
(299,1)
(349,0)
};
\fill [name intersections={of=h1 and h3,by=E}] (intersection-2) circle (2.5pt)
coordinate (a);
\legend{H1 $<$ H2,H2 $<$ H1,H1 $=$ H2}
\end{axis}
\end{tikzpicture}
\caption{Ergebnisse im Vergleich, $p = 0.25$}
\end{figure}
\end{document}


