%
% function fig = newfig( [titlos] )
%
%          creates a new figure without menu and title bars
%          with background color white and specified title
%

%
% Copyright (c) 07-Dec-2001 George P. Pavlidis (gpavlid@ceti.gr, gpavlid@ee.duth.gr)
%
function fig = newfig( varargin );

	if nargin==0, titlos=''; else titlos=varargin{1}; end;
	
	if isempty(titlos),
		fig = figure(	'menubar','none',...
							'toolbar','none',...
							'Color',[1,1,1]);
	else
		fig = figure(	'Name',titlos,...
							'NumberTitle','off',...
							'menubar','none',...
							'toolbar','none',...
							'Color',[1,1,1]);
	end;

return;