Note how the second graphic is taller than the first one. I would like the frames to be properly aligned, for aesthetic reasons. All my graphics have (different) frame labels, and their aspect ratio is fixed.
The two plots look different because of the different sizes of the material outside of the frame. In this case it is the different widths of the vertical tick labels.
The way to fix this is to explicitly specify the space allotted for the outside-the-frame items using the ImagePadding option. Then it will be the same for both plots. You must specify the ImagePadding to be large enough to accommodate all the material in all of the plots.
Note how the second graphic is taller than the first one. I would like the frames to be properly aligned, for aesthetic reasons. All my graphics have (different) frame labels, and their aspect ratio is fixed.
> Note how the second graphic is taller than the first one. I would like > the frames to be properly aligned, for aesthetic reasons. All my > graphics have (different) frame labels, and their aspect ratio is fixed .
I think that the difference in frame dimensions is due to different settings of ImagePadding. You can achieve what you want with setting ImagePadding to the same value for all your plots:
It needs some iterations to find a value that works for all plots. Unfortunatley finding the largest ImagePadding values with AbsoluteOptions and use that automatically seems to not work since it will return ImagePadding -> All which is not much help...
> Note how the second graphic is taller than the first one. I would like > the frames to be properly aligned, for aesthetic reasons. All my > graphics have (different) frame labels, and their aspect ratio is fixed.
I think I found a solution:
The key is the ImagePadding option. The above example could be modified like this:
Each graphic needs to have the same top and bottom ImagePadding. The automatically computed values at the bottom are the same in this particular case. The top value was set to 5 manually. If I understand it correctly, the value given to ImagePadding is to be understood in printer's points (but it accepts Scaled[] values as well).