function this = mapCSTPrefs(this,varargin)
%MAPCSTPREFS for TimePlotOptions

%  Copyright 1986-2004 The MathWorks, Inc.
%  $Revision: 1.1.6.1 $   $Date: 2004/12/26 21:52:34 $


if isempty(varargin)
    CSTPrefs = cstprefs.tbxprefs;
else
    CSTPrefs = varargin{1};
end


this = mapCSTPrefs2RespPlotOpts(this,CSTPrefs);
this = mapCSTPrefs2PlotOpts(this,CSTPrefs);

this.SettleTimeThreshold = CSTPrefs.SettlingTimeThreshold;
this.RiseTimeLimits = CSTPrefs.RiseTimeLimits;
