When generating graphs, I would like to keep the size of my plot range constant, instead of the size of the image in total (as been done with ImageSize). Please see the example below. How can I achieve a constant plot region?

Graphs generated in Mathematica with different plot region, albeit identical ImageSize

  • 2
    $\begingroup$ Did you try specify the PlotRange as an option to Plot? $\endgroup$
    – grbl
    Oct 20, 2016 at 8:26
  • $\begingroup$ Related (or other possible duplicates): 79763, 88312, 4059. $\endgroup$
    – march
    May 1, 2019 at 18:44

2 Answers 2


You can work the limits control through AspectRatio combined with PlotRange

As in this example:

enter image description here

  • $\begingroup$ The question is regarding that the different axes tick label lengths led to a rescaling of the plot region for the same specification of imagesize. This is not addressed by your observation. $\endgroup$ May 18, 2018 at 22:52

Unfortunately Mathematica lacks an expedite way to solve this problem in general. You can play with the ImagePadding option to adjust the relative positioning of the two plots, as illustrated below. However, the extent of padding needed depends on the size of the tick labels, font used, etc.

  { {Plot[x,{x,1,2},ImagePadding->{{36,All},{All,All}}]}, {Plot[x,{x,0.0001,0.0002}]} },
  Spacings -> 0

Using ImagePadding


Not the answer you're looking for? Browse other questions tagged or ask your own question.