Hi,

thanks for the report.

You are right, this is a bug, and it is known to me (even though I 
failed to find the root cause so far).

The problem is related to so-called "cell pictures". A workaround is to 
write "cell picture=true" right after "set layers" -- but that disables 
some of the effects of the layered graphics (namely layering between 
different axes within the same tikzpicture).

I will look into it with new motivation given your email.

Kind regards

Christian


Am 07.09.2015 07:55, schrieb Christoph Hahn:
> 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


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

Reply via email to