function h = pzlocation(varargin)
%PZLOCATION  Constructor for the pole-zero location constraint objects.

%   Authors: A. Stothert
%   Copyright 1986-2004 The MathWorks, Inc. 
%   $Revision: 1.1.6.1 $ $Date: 2004/12/10 19:32:57 $

% Create class instance
hParent = [];
if nargin > 0
   %Check to see if we've an explicit parent setting
   idx = find(strcmpi(varargin,'Parent'));
   if ~isempty(idx)
      hParent = varargin{idx+1};
      varargin = {varargin{1:idx-1}, varargin{idx+2:end}};
   end
end
if ~isempty(hParent)
   h = plotconstr.pzlocation('Parent',hParent);
else
   h = plotconstr.pzlocation;
end
h.EventManager = ctrluis.eventmgr;
h.Data         = plotconstr.polygondata;

% Initialize properties 
h.Orientation   = 'both';
h.xCoords       = [-1 -1];
h.xUnits        = 'abs';
h.yCoords       = [-1 1];
h.yUnits        = 'abs';
h.Linked        = [];
h.xDisplayUnits = h.SigmaUnits;
h.yDisplayUnits = h.OmegaUnits;

% Install default BDF
h.defaultbdf;

if ~isempty(varargin)
   %Set any constructor called properties
   set(h,varargin{:})
end

