comparison m-toolbox/classes/@minfo/getInfoAxis.m @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f0afece42f48
1 function ii = getInfoAxis(method, getDefaultPlist, varargin)
2
3 if nargin == 3 && strcmpi(varargin{1}{1}, 'None')
4 sets = {};
5 pls = [];
6 elseif nargin == 3 && ~isempty(varargin{1}{1})
7 sets = varargin{1};
8 pls = getDefaultPlist(sets{1});
9 else
10 sets = {'1D', '2D', '3D'};
11 pls = [];
12 for kk=1:numel(sets)
13 pls = [pls getDefaultPlist(sets{kk})];
14 end
15 end
16 % Build info object
17 ii = minfo(method, 'ao', 'ltpda', utils.const.categories.op, '$Id: getInfoAxis.m,v 1.1 2011/04/17 09:20:33 hewitson Exp $', sets, pls);
18 end