annotate scaleFigureSize.m @ 1253:89dad61cad22 feature/poroelastic

Make Elastic2dVariable faster and more memory efficient
author Martin Almquist <malmquist@stanford.edu>
date Tue, 04 Feb 2020 10:15:42 -0800
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