annotate scaleFigureSize.m @ 1098:36d092a00040 feature/dataspline

Bugfix Curve.arcLengthParametrization() by using linear interpolation instead of higher-order spline for parameter as a funciton of arclength. Generalize dataSpline() to curves in higher dimensions.
author Martin Almquist <malmquist@stanford.edu>
date Tue, 09 Apr 2019 09:50:44 -0700
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