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?
$\begingroup$
$\endgroup$
-
$\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$ – ComptonScattering May 18 '18 at 22:52
$\begingroup$
$\endgroup$
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.
GraphicsGrid[
{ {Plot[x,{x,1,2},ImagePadding->{{36,All},{All,All}}]}, {Plot[x,{x,0.0001,0.0002}]} },
Spacings -> 0
]
PlotRange
as an option toPlot
? $\endgroup$ – grbl Oct 20 '16 at 8:26