function draw(this, Data, NormalRefresh)
%DRAW  Draws Bode response curves.
%
%  DRAW(VIEW,DATA) maps the response data in DATA to the curves in VIEW.

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

AxGrid = this.AxesGrid;

% Input and output sizes
[Ny, Nu] = size(this.Curves);

% Draw points
for row=1:Ny
    for col=1:Nu
     [T,Y] = stairs(Data.Lags,Data.CData(:,row,col));
     set(double(this.Curves(row,col)),'XData',T-0.5, 'YData',Y);
    end
end


