I would like my extra x tick label
to be on the top of the graph, so that it would not interfere with the others tick labels. How can I manage to do that?
Here is a minimal working example:
\documentclass{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xmin=0,xmax=3,
ymin=0,ymax=15,
extra x ticks={2.2},
extra x tick style={grid=major},
extra x tick labels={Cut},
]
\addplot {exp(x)};
\end{axis}
\end{tikzpicture}
\end{document}
and the corresponding result:
I would like the "Cut" mention to be written above.
Thank you for your help!