view setFontSize.m @ 427:a613960a157b feature/quantumTriangles

merged with feature/beams
author Ylva Rydin <ylva.rydin@telia.com>
date Thu, 26 Jan 2017 15:59:25 +0100
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