view setFontSize.m @ 794:0cac17097c37 feature/poroelastic

Added tag elastic1.0 for changeset 08f3ffe63f48
author Martin Almquist <malmquist@stanford.edu>
date Wed, 25 Jul 2018 18:06:08 -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