Insert space between tick labels and axis in Pgfplots
One solution is to specify a xticklabel style
in order to shift it with yshift=-2pt
, i.e.:
...
\subfloat[Linear horizontal axis]{
\begin{tikzpicture}
\begin{axis}[
ytick pos=right, width=5cm, height=5cm,
xticklabel style={yshift=-2pt},% <--- add in second subfigure
]
\addplot
table[row sep=crcr]{%
1 1\\
10 2\\
};
\end{axis}
\end{tikzpicture}%
}%
...