I want to change the color of the axis lines only without changing the color of the axis labels, tick labels etc.
MWE:
\documentclass{standalone}
\usepackage{tikz}
\usepackage{pgfplots}
%
\begin{document}
%
\pgfplotsset{
every axis/.append style={%
red
}
}
%
\begin{tikzpicture}
\begin{axis}[%
xlabel={X},
ylabel={Y}
]%
\end{axis}
\end{tikzpicture}
%
\end{document}
I am not aware of a pgfkey for axis lines only along the lines of /pgfplots/tick style.
