function ResultsViewer

global FileName
global BatchResultsFile
% naam in de oorspronkelijke file: global MatrixFileName, vervang deze
global ButtonBackColor
global MapExtent
global hndlAxes
global Matrix
global Selection


FileName = '';
BatchResultsFile = '';

Selection.Years = [];
Selection.Percentages = [];
Selection.Exceedances = [];
Selection.Method = 'Instantanious';

ButtonBackColor.on       = [.92549 .913725 .847059];
ButtonBackColor.inactive = [.7294 .7294 .7451];

fig=figure(10);clf;
set(fig,'Name','Results viewer','NumberTitle','Off','Units','normalized');
%set(fig,'menubar','none');
%set(fig,'toolbar','figure');
set(fig,'units','pixels');
%%set(gcf,'position',[ .05 .05 .8 .8]);
set(gcf,'position',getPosition(0.04, 1, 0.96));

BuildUIControls (fig)

hndlAxes = axes('Position',[0 0 .5 1]);
set(hndlAxes,'YTick',[],'XTick',[]);
   axis equal;



