function h = hsvplot(varargin)
%HSVPLOT  Constructor for @hsvplot class.
%
%  H = HSVPLOT(AX) creates an @hsvplot object in the area occupied by the 
%  axes with handle AX.
%
%  H = HSVPLOT uses GCA as default axes.
%
%  H = HSVPLOT('Property1','Value1',...) initializes the plot with the
%  specified attributes.

%  Author(s): Kamesh Subbarao
%  Copyright 1986-2002 The MathWorks, Inc.
%   $Revision: 1.1.6.1 $  $Date: 2004/12/26 21:53:03 $

% Create class instance
h = resppack.hsvplot;
%
% Parse input list
if nargin>0 && isa(handle(varargin{1}),'hg.axes')
   ax = varargin{1};
   varargin = varargin(2:end); 
else
   ax = gca;
end
gridsize = [1 1];

% Check for hold mode
[junk,HeldRespFlag] = check_hold(h, ax, gridsize);
if HeldRespFlag
   error('Cannot superpose Hankel singular value plots.')
end

% Generic property init
init_prop(h, ax, gridsize);
%
% User-specified initial values (before listeners are installed...)
h.set(varargin{:});

% Initialize the handle graphics objects used in @hsvplot class.
h.initialize(ax, gridsize);
