does anyone knows how to remove the white space below the x-label and left of the y-label in pgfplots? (Not the space between ticks and labels - this is not a problem for me)
\documentclass{standalone}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xlabel={test label x},
ylabel={test label y},
every label/.style={fill=none,inner sep=-10pt}
]
\addplot+[mark=none]{x^2)};
\end{axis}
\end{tikzpicture}
\end{document}
Thanks a lot!
\documentclass{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[ xlabel={test label x}, ylabel={test label y}, ylabel style={at={(1.5em,0.5)}, inner sep=0pt}, xlabel style={at={(0.5,0.5ex)}, inner sep=0pt}, ] \addplot+[mark=none]{x^2)}; \end{axis} \end{tikzpicture} \end{document}
gives what you after.