function setoptions(this,varargin)
%SETOPTIONS  set sigmaplot properties

%  Copyright 1986-2004 The MathWorks, Inc.
%  $Revision: 1.1.6.1 $   $Date: 2004/12/26 21:53:30 $

if ~isempty(varargin)
    if ~isa(varargin{1},'plotopts.SigmaPlotOptions')
        p = plotopts.SigmaPlotOptions;
        p = p.getSigmaPlotOpts(this,true);
    else
        p = varargin{1};
        varargin(1) = [];
    end
end

p = applyPropertyPairs(p, varargin{:});

applySigmaPlotOpts(p,this,true);