# How to change frame size, while maintaining ImageSize? [duplicate]

I'm trying to come up with a MWE:

anyData = Range[10];
Column@Table[ListLinePlot[n*anyData, Frame -> True], {n, {-1, 1}}]


The lateral size of the plotframe varies, depended on the y-frame-label/ticks. In the example below this is due to the use of negative values, but in general any difference in ticksnumbers and labeling could cause this.

## My question:

Is there a way to get both of the plotframes equal in size and aligned? Unfortunately, I'm aware that this might end in the consequence of unequal overall imagesizes. But maybe one could add some blank regions by Padding or so... I hope for some possible solutions.

• You tried increasing ImagePadding? – BlacKow Apr 14 '16 at 17:08
• Yes I tried. It might work for some plots, but one has to adjust that manually, right? Not really, what I was hoping for. How can I control, that both framesizes are exactly equal? – Kay Apr 14 '16 at 17:13
• Setting ImageSize and ImagePadding identical for two plots doesn't make the plot content aligned and identical size? – BlacKow Apr 14 '16 at 17:16
• @BlacKow The issue is that the tick labels occupy a variable amount of space, depending on their values. Of course, with a bit of work that size can be determined and accounted for. – bbgodfrey Apr 14 '16 at 17:19
• Many related: 1337, 4059, 1025, 66350, etc. – István Zachar Apr 14 '16 at 17:53

Thanks to BlacKow I just found out that:

and

"ImageMargins is defined outside of ImageSize"

anyData = Range[10];