function graf_lin_log
% linearni a logaritmicke deleni os
x1=linspace(1,100,300);
x2=logspace(0,2,300);
y1=exp((3.*x1)./(x1+2))+sin(4.*x1);
y2=exp((3.*x2)./(x2+2))+sin(4.*x2);
subplot(4,2,1)
plot(x1,y1,'o-','MarkerSize',2)
subplot(4,2,2)
plot(x2,y2,'o-','MarkerSize',2)
subplot(4,2,3)
semilogx(x1,y1,'o-','MarkerSize',2)
subplot(4,2,4)
semilogx(x2,y2,'o-','MarkerSize',2)
subplot(4,2,5)
semilogy(x1,y1,'o-','MarkerSize',2)
subplot(4,2,6)
semilogy(x2,y2,'o-','MarkerSize',2)
subplot(4,2,7)
loglog(x1,y1,'o-','MarkerSize',2)
subplot(4,2,8)
loglog(x2,y2,'o-','MarkerSize',2)
end

