view setFontSize.m @ 864:c51b3f945c65 bcSetupExperiment

Add functions for taking local closures and penalties global
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 25 Jul 2018 15:24:37 -0700
parents 6db427e07edd
children
line wrap: on
line source

% setFontSize(fig, pts)
% Sets all fontsizes within a figure to size pts
% The default value for pts is 16.
function setFontSize(fig, pts)
    default_arg('pts', 16);
    set(findall(fig,'-property','FontSize'),'FontSize',pts);
end