view 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
line wrap: on
line source

function ii = getInfoAxis(method, getDefaultPlist, varargin)
  
  if nargin == 3 && strcmpi(varargin{1}{1}, 'None')
    sets = {};
    pls  = [];
  elseif nargin == 3 && ~isempty(varargin{1}{1})
    sets = varargin{1};
    pls  = getDefaultPlist(sets{1});
  else
    sets = {'1D', '2D', '3D'};
    pls = [];
    for kk=1:numel(sets)
      pls  = [pls getDefaultPlist(sets{kk})];
    end
  end
  % Build info object
  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);
end