Mercurial > repos > public > sbplib
annotate scaleFigureSize.m @ 1217:a3d9567d9004 feature/d2_compatible
Improve efficiency of construction of D2(b) by precomputing as much as possible
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Wed, 13 Nov 2019 14:54:22 -0800 |
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 |