Skip to main content
7 events
when toggle format what by license comment
Jul 1, 2019 at 16:00 comment added Gustavo Delfino The Image command inside getMaxPadding kept failing for me. I replaced it with Rasterize and now it works well.
Apr 13, 2017 at 12:56 history edited CommunityBot
replaced http://mathematica.stackexchange.com/ with https://mathematica.stackexchange.com/
Nov 19, 2012 at 1:16 vote accept QuantumDot
Oct 22, 2012 at 13:00 comment added rm -rf @m_goldberg Yes, I was sloppy in setting the image padding, but as I indicated earlier, it was just an example and the OP has to tweak it to get the right values for his needs. I also gave hints (see getMaxPadding in the middle) on how to automatically get the maximum padding of both plots and apply it to the figure. Lastly, yes, that is the same as FrameTicks -> Automatic, but this isn't my code... this is the OP's code, with minor modifications to solve the issue at hand. I didn't bother looking at other stuff.
Oct 22, 2012 at 7:54 comment added m_goldberg Even with the update the x-axis label on the bottom image is missing. I have gotten better looking results with your code by setting ImagePadding -> {{40, 1}, {30, 30}} for plots and Spacings -> -40 for the graphics column. Also, isn't FrameTicks -> {{Automatic, Automatic},{Automatic, Automatic}} really just the same as FrameTicks -> Automatic. Actually, I'd use FrameTicks -> {{Automatic, Automatic}, {All, None}} for the lower plot.
Oct 20, 2012 at 23:34 history edited rm -rf CC BY-SA 3.0
added 713 characters in body
Oct 20, 2012 at 23:27 history answered rm -rf CC BY-SA 3.0