Mercurial > repos > public > sbplib
diff +grid/equidistant.m @ 177:c3378418d49a feature/grids
Updated equidistant and equidistantCurve to set the scaling of grids.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 29 Feb 2016 14:55:19 +0100 |
parents | c7b2f645101f |
children |
line wrap: on
line diff
--- a/+grid/equidistant.m Fri Feb 26 16:06:52 2016 +0100 +++ b/+grid/equidistant.m Mon Feb 29 14:55:19 2016 +0100 @@ -19,9 +19,11 @@ end X = {}; + h = []; for i = 1:length(m) - X{i} = util.get_grid(varargin{i}{:},m(i)); + [X{i}, h(i)] = util.get_grid(varargin{i}{:},m(i)); end g = grid.Cartesian(X{:}); + g.h = h; end \ No newline at end of file