Mercurial > repos > public > sbplib
annotate scaleFigureSize.m @ 1297:e53b1e25970a feature/boundary_optimized_grids
Change +sbp/+util/ to +sbp/+grid and change function names to camel case
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Tue, 07 Jul 2020 16:08:08 +0200 |
parents | 0976e579a6f0 |
children |
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 |