A MWE of my issue:
The title is scaled appropriately, but the ticks are not changed. My actual function computes \alpha based on the number of subfigures in the layout (if that is important). According to this answer julia - How to scale the fontsizes using Plots.jl - Stack Overflow,
p1 should be scaled according to \alpha and subsequent plots set back to default, but this does not seem to be the case. Any help would be appreciated.
If you move
Plots.scalefontsizes() to the first line of the function (to reset the scaling), it seems to work.
using Plots; gr()
The new default fontsize is still scaled by alpha after the call so that if I do
the second plot still has the \alpha fontsize and has not been reset back to default. I guess if I use this command, I need to restore to default after the function call.
That seems to be the principle of the whole shebang.