view m-toolbox/classes/@aoplotter/aoplotter.m @ 40:977eb37f31cb database-connection-manager

User friendlier errors from utils.mysql.connect
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 18:04:03 +0100
parents f0afece42f48
children
line wrap: on
line source

% AOPLOTTER provides plotting for all ao data objects.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% DESCRIPTION: AOPLOTTER provides plotting for all ao data objects
%
% The plot functions defined in this class should be happy to work with all
% flavours of ao data objects. For more specific plotting functions, see
% the subclasses: tsplotter, fsplotter, xyplotter, cplotter.
%
% CONSTRUCTOR:
%
%            p = aoplotter(objects)
%            p = aoplotter(objects, pl)
%
% <a href="matlab:utils.helper.displayMethodInfo('aoplotter', 'aoplotter')">Parameters Description</a>
%
% VERSION:     $Id: aoplotter.m,v 1.3 2011/04/08 08:56:38 hewitson Exp $
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
classdef aoplotter < plotter
  
  methods
    % constructor
    function p = aoplotter(varargin)
      % call super
      p = p@plotter(varargin{:});
    end
    
  end
  
  methods (Static=true)
    
    varargout = makeAxisLabel(varargin) % prepare axis labels
    
    function out = VEROUT()
      out = '$Id: aoplotter.m,v 1.3 2011/04/08 08:56:38 hewitson Exp $';
    end
    
    function ii = getInfo(varargin)      
      ii = utils.helper.generic_getInfo(varargin{:}, 'aoplotter');
    end
    
    function out = SETS()
      out = {'Default'};
    end    
    
    function out = getDefaultPlist(set)
      
      if ~utils.helper.ismember(lower(smodel.SETS), lower(set))
        error('### Unknown set [%s]', set);
      end
      
      disp('here')
      out = plotter.getDefaultPlist('Default');
    end
    
  end
  
end
% END