function p = getPZMapOpts(p,h,varargin)
%GETPZMAPPLOTOPTS Gets plot options of @pzplot h and assigns them to p 

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

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


p.FreqUnits = h.FrequencyUnits;

                 
if allflag
    p = getRespPlotOpts(p,h,allflag);
end