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

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

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

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

applyHSVPlotOpts(p,this,true);