Mercurial > repos > public > sbplib
annotate scaleFigureSize.m @ 1288:e059a43bb675 feature/boundary_optimized_grids
Error-check format of limit arguments
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Wed, 01 Jul 2020 15:13:36 +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 |