function y = flis(wsp1, wsp2)

T=0;
X=0;
Y=0;

h=figure;


for j=1:2000
    T=T+0.1;
    X=cos(T*wsp1);
    Y=sin(T*wsp2);
    axis([-2 2 -2 2]);
    plot(X,Y,'m.');
    hold on;
    M(j)=getframe
    
end;
hold on;
saveas(h, 'obraz.jpg');
