Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • Thank you very much for solution! However I still wonder (after reading up on layers in the doc) why set layers=standard is not active, if there is no set layers keyword. Is it correct, that pgfplots automatically determines the layers, but fixes the given order (only) when encountering this key? Commented Dec 4, 2015 at 16:08
  • Yes, pgfplots still applies the heuristics which draws items in top of each other without activating set layers. Thus, it fixes the given order only when it encounters set layers. Maybe it will become the system default in some future version. Commented Dec 4, 2015 at 16:10
  • Furthermore the set layers key really messes up the groupplots, since obviously uses special layers. So the question how to apply this to 3D axes only remains! Or at least only to axes not using the groupplot environment. Commented Dec 4, 2015 at 16:12
  • 1
    There is an ugly defect in the software which messes up groupplots when used together with set layers. It exists up to and including version 1.12 (the latest stable at the time of this writing). In order to work around this limitation, you can use \pgfplotsset{set layers,cell picture=true}. I have finally managed to fixed that defect (thanks to god, was hard to catch). The fix will become part of 1.13. Commented Dec 4, 2015 at 16:15
  • Great work, Thank you very much for all your effort! Commented Dec 4, 2015 at 16:16