annotate setFontSize.m @ 1012:1e437c9e5132 feature/advectionRV

Create residual viscosity package +rv and generalize the ResidualViscosity class - Generalize residual viscosity, by passing user-defined flux and calculating the time derivative outside of the update. - Create separate RungekuttaRV specifically using interior RV updates - Separate the artifical dissipation operator from the scheme AdvectionRV1D so that the same scheme can be reused for creating the diff op used by the ResidualViscosity class
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Wed, 05 Dec 2018 13:44:10 +0100
parents 6db427e07edd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
194
6db427e07edd setFontSize: Added docstring.
Jonatan Werpers <jonatan@werpers.com>
parents: 143
diff changeset
1 % setFontSize(fig, pts)
6db427e07edd setFontSize: Added docstring.
Jonatan Werpers <jonatan@werpers.com>
parents: 143
diff changeset
2 % Sets all fontsizes within a figure to size pts
6db427e07edd setFontSize: Added docstring.
Jonatan Werpers <jonatan@werpers.com>
parents: 143
diff changeset
3 % The default value for pts is 16.
143
125c51e4dca8 Added function to set alla font sizes of a figure. Added default dpi to savepng.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
4 function setFontSize(fig, pts)
125c51e4dca8 Added function to set alla font sizes of a figure. Added default dpi to savepng.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
5 default_arg('pts', 16);
125c51e4dca8 Added function to set alla font sizes of a figure. Added default dpi to savepng.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
6 set(findall(fig,'-property','FontSize'),'FontSize',pts);
125c51e4dca8 Added function to set alla font sizes of a figure. Added default dpi to savepng.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
7 end