view setFontSize.m @ 572:4a73b2aab91f feature/utux2D

Edit scheme.Utux: Add interface function. Compatible with new grids. Works with Utux_1D_interface.
author Martin Almquist <martin.almquist@it.uu.se>
date Thu, 31 Aug 2017 14:57:34 +0200
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