annotate scaleFigureSize.m @ 745:00eb5db89da5 feature/grids

Fix bug in draw.promprt_point() Problems with registering events, Fixed by attaching events to the figure instead of the axis
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 28 Mar 2018 12:50:06 +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