function RespObj = plotgrid(RespObj)
%PLOTGRID  Plots or adjusts grid for response plots.

%   Author(s): A. DiVergilio
%   Copyright 1986-2000 The MathWorks, Inc. 
%   $Revision: 1.2 $  $Date: 2000/06/14 20:07:30 $

if strcmpi(RespObj.Grid,'on')
   set(RespObj.PlotAxes,'XGrid','on','YGrid','on');
else
   set(RespObj.PlotAxes,'XGrid','off','YGrid','off');
end
