annotate scaleFigureSize.m @ 583:75f9b7a80f28 feature/grids

Allow more than one type in type assertion
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 07 Sep 2017 14:08:31 +0200
parents 0976e579a6f0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
373
0976e579a6f0 Add functions for scaling figure windows and axes.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
1 function scaleFigureSize(fh, s)
0976e579a6f0 Add functions for scaling figure windows and axes.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
2 fh.Position(3:4) = s*fh.Position(3:4);
0976e579a6f0 Add functions for scaling figure windows and axes.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
3 end