%Usage:
%  matlab -nodesktop
%  eigplot

disp(' Test 0  - Diamond/XXS');
disp(' Test 1  - Diamond/M');
disp(' Test 7  - Diamond-random/M');
disp(' Test 8  - Diamond-random/L');
disp(' Test 10 - Graphene/XXS');
disp(' Test 42 - Mixed/SiO2/P0');

file = input('input data file name (use sigle quote!) = ');

FILE = ['../',file,'/eval.dat'];

tmp = load (FILE);

eval = tmp(:,2); 

fig = figure;

Titl = [file];


subplot(2, 1, 1)
n1 = 1000;
hist(eval, n1);
title(Titl)
xlabel([ ' hist ( eval,', num2str(n1), ' )' ])

subplot(2, 1, 2)
n2 = 10000;
hist(eval, n2);
%title(Titl)
xlabel([ ' hist ( eval,', num2str(n2), ' )' ])


print(fig, '-depsc', 'eigfig');



