view m-toolbox/classes/@minfo/getInfoAxis.m @ 25:79dc7091dbbc database-connection-manager

Update tests
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
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