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.

Required fields*

3
  • $\begingroup$ Overlayed plots do not have a head Graphics they are an OverlayBox so this is why your code is failing. You can overlay more than two items so maybe that might be your best option. $\endgroup$ Commented Nov 21, 2013 at 20:57
  • $\begingroup$ So is it possible to get double y axes (with different ticks) without overlay? $\endgroup$ Commented Nov 21, 2013 at 21:01
  • $\begingroup$ Yes and you can search and find code for that but as shown in Kubas answer just put the inset in the relevant plot before you use overlay. $\endgroup$ Commented Nov 21, 2013 at 21:26