function p = getTimePlotOpts(p,h,varargin)
%GETHSVPLOTOPTS  set hsvplot properties

%  Author(s): C. Buhr
%  Copyright 1986-2004 The MathWorks, Inc.
%  $Revision: 1.1.6.1 $ $Date: 2004/12/26 21:51:57 $

if isempty(varargin)
   allflag = false;
else
   allflag = varargin{1};
end

% Get YScale
p.YScale = h.AxesGrid.YScale;
p.AbsTol = h.Options.AbsTol;
p.RelTol = h.Options.RelTol;
p.Offset = h.Options.Offset;

% Get Parent Properties
if allflag
   p = getPlotOpts(p,h);
end