********************************************************************  TOTO

y = [1.09 26.72 30.03 96.26 100 100 100 100 100]

x = [1 100 200 500 750 1000 1500 1900 2500]

figure
plot(x,y)
grid on
hold on
ylim([0.0 120.0]);
xlim([0.0 3000.0]);

% fit an exponential function to data
%f1 = x,y2;
%plot(x,y2)
%plot(x,y3)

% set major axes legend, title, and labels
title('Stratovosť siete v závislosti od počtu zariadení')
xlabel('Počet zariadení [ks]')
legend('Priemerná Stratovosť')

% zoomPlot to highlight a portion of the major plot
[p,z] = zoom(x,y,[0 800],[0.45 0.15 0.4 0.5],[1 3]);
grid on
hold on
%plot(x,y1)
%plot(x,y2)
%plot(x,y3)
legend hide
p.YLabel.String = 'Stratovosť [%]';

