Extra tick label on opposite axis

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},
]
\end{axis}
\end{tikzpicture}
\end{document}


and the corresponding result:

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

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}
]

• @Tobard I can't remember, if I have tried "top" when I wrote my answer and I cannot find any change log about a fix with ticklabel pos but anyhow: It works with top now. Which makes much more sense than right. (Maybe the fix is here: sourceforge.net/p/pgfplots/bugs/86) Mar 9, 2016 at 9:19