Hi Anthony,
I understand you want to customize the default font sizes for axes, text, and legends for all the MATLAB figures using the “startup.m” file. For MATLAB R2014b and onwards, the desired result can be achieved using the below statement in the “startup.m” file:
set(groot, ...
'defaultAxesFontSize',14, ...
'defaultTextFontSize',20, ...
'defaultTextFontSizeMode','manual' ...
'defaultLegendFontSize',32, ...
'defaultLegendFontSizeMode','manual' ...
)
Please refer to following already existing answer which explains about the solution in detail:
