[Tex/LaTex] Extra tick label on opposite axis

pgfplotsticks

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:

enter image description here

I would like the "Cut" mention to be written above.

Thank you for your help!

Best Answer

You can do this like this by changing the ticklabel position.

% arara: pdflatex

\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.13}

\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
            ,ticklabel pos=top
            }
        ,extra x tick labels={Cut}
        ]
        \addplot {exp(x)};
    \end{axis}
\end{tikzpicture}
\end{document}

enter image description here