Hey guys,

I recently ran into some pgfplots behavior I'd consider a bug. In the MWE

\documentclass{article}

\usepackage{pgfplots}
\pgfplotsset{compat=1.12}

\begin{document}
\begin{tikzpicture}
\pgfplotsset{set layers}
\begin{axis}[name=n,
ymode=log,
ymin=1.5E-5,ymax=1.5E-3,
]
\addplot coordinates {(1,2E-4) (2,2E-4)};
\end{axis}

\node at (n.outer south west) {\emph{Picture edge is here}};
\end{tikzpicture}
\end{document}

the vertical cropping seems to be off, with the excess space depending on the y 
limits set. If I use values >1, or disable "set layers", everything seems to be 
fine. (I need "set layers" for the second y axis, as per section 4.9.10 of the 
manual.) Also, the behavior is as expected (i.e., tight cropping) with 
compat=default through 1.7. 

Can anyone else confirm this?

Best regards,
Christoph

------------------------------------------------------------------------------
_______________________________________________
Pgfplots-features mailing list
Pgfplots-features@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pgfplots-features

Reply via email to