function dummy = setdefaults(Editor,SISOPrefs)
%SETDEFAULTS  Initializes editor with SISO Tool global defaults.

%   Author(s): P. Gahinet
%   Copyright 1986-2000 The MathWorks, Inc. 
%   $Revision: 1.3 $ $Date: 2000/06/14 20:21:09 $

% REVISIT
dummy = [];

% Title style
Editor.Title = struct(...
    'Color',SISOPrefs.AxesForegroundColor,...
    'FontAngle',SISOPrefs.TitleFontAngle,...
    'FontSize',SISOPrefs.TitleFontSize,...
    'FontWeight',SISOPrefs.TitleFontWeight,...
    'String','',...
    'Visible','off');

% Label style
Editor.Xlabel = struct(...
    'Color',SISOPrefs.AxesForegroundColor,...
    'FontAngle',SISOPrefs.XYLabelsFontAngle,...
    'FontSize',SISOPrefs.XYLabelsFontSize,...
    'FontWeight',SISOPrefs.XYLabelsFontWeight,...
    'String','',...
    'Visible','off');
Editor.Ylabel = struct(...
    'Color',SISOPrefs.AxesForegroundColor,...
    'FontAngle',SISOPrefs.XYLabelsFontAngle,...
    'FontSize',SISOPrefs.XYLabelsFontSize,...
    'FontWeight',SISOPrefs.XYLabelsFontWeight,...
    'String','',...
    'Visible','off');

% Line style defaults
Editor.AxesForegroundColor = SISOPrefs.AxesForegroundColor;
Editor.LineStyle = SISOPrefs.LineStyle;

% Initialize grid state
set(Editor,'Grid',SISOPrefs.Grid);




