function Value = getscale(RespObj,Property)
%GETSCALE  Get scale properties of RespObj axes
%          (frequencyscale, magnitudescale)

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

Value = '';

switch lower(Property)
case 'frequencyscale'
   switch RespObj.ResponseType
   case {'bode','bodemag','margin','sigma'}
      Value = get(RespObj.PlotAxes(1,1),'XScale');
   end
case 'magnitudescale'
   switch RespObj.ResponseType
   case {'bode','bodemag','margin','nichols','sigma'}
      Value = get(RespObj.PlotAxes(1,1),'YScale');
   end
end
