As I understand, the size
attribute fixes the physical size of the canvas. (Sorry I don’t know the proper terminology.) But, I wonder how to fix the physical positions of the endpoints of the axes.
I’m producing a set of line graphs for which the horizontal axis is exactly the same but the vertical axis differs from figure to figure:
using Plots
savefig(plot(xs, ys1; size = . . . ), "figure1.pdf")
savefig(plot(xs, ys2; size = . . . ), "figure2.pdf")
# . . .
Because the labels on the vertical axis differs from figure to figure, the physical length of the x axis varies from figure to figure. How can one fix the physical length of the x axis? I don’t mind there is spurious space near the left edge of the figure.