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

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

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

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

applyNicholsPlotOpts(p,this,true);