I have a node within a pgfplot
that is rather long. I know I can move the node along using pos
but that's not what I want, since in the actual applications I have more objects on the plot. On the other hand I have space outside of the plot, yet the plot seems to automatically crop. The MWE below displays the problem to be solved.
\documentclass{article}
\usepackage{pgfplots}
\pgfplotsset{compat=1.10}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
font=\scriptsize,
axis lines=left,
]
\addplot[domain=0:30]
{10+1*x}node[sloped,pos=0.7,below]{Please show all of me even though I am long};
\end{axis}
\end{tikzpicture}%
\end{document}
clip=false
in theaxis
options... see page 325 of the 1.12 manual