Skip to main content
8 events
when toggle format what by license comment
Jun 29, 2013 at 21:12 history edited Michael E2 CC BY-SA 3.0
Improved code
Jun 26, 2013 at 7:09 comment added Bernd Unfortunately, that still gives the same plot. What a shame. :(
Jun 25, 2013 at 13:14 comment added Michael E2 @Bernd The reference pages say Inset and Scaled were modified in V7. Try Inset[#1, {Axis, Top}, Scaled[{0.5, 1.5}]] -- maybe it will work. There will be a problem if the axis is not at x = 0, though. But if you know where the axis is, then it might be usable.
Jun 25, 2013 at 8:54 comment added Bernd That could indeed be the issue - I'm still on version 6. Still all the commands are already introduced in this version, so it's odd to get such a different result. A pity because I really like this proposal for its brevity.
Jun 24, 2013 at 12:27 comment added Michael E2 @Bernd That's curious. When I cut and paste the code above, it all works just as shown, on both V8.0.4 and V9.0.1 (on a Mac). Which version of Mathematica are you using? Did you try the code with a fresh kernel? (I can get your image if I replace {0, Top} with Scaled[{0, 1}], but I don't know why your system would behave differently than mine.)
Jun 24, 2013 at 7:25 comment added Bernd And if I try to run the third code, I get the following error: The specified setting for the option PaneBoxOptions, ImageSize cannot be used.
Jun 24, 2013 at 7:24 comment added Bernd Michael, I don't know what I'm doing wrong, but your above code doesn't yield the image you attached for me. If I run your first code snippet, I get this graph, and the second one similarly looks different.
Jun 22, 2013 at 0:11 history answered Michael E2 CC BY-SA 3.0