time=0:0.02/100:0.02;
Y1=abs(Ipor(1))*sin(100*pi*time+angle(Ipor(1)));
Y2=abs(Ipor(2))*sin(100*pi*time+angle(Ipor(2)));
Y3=abs(Ipor(3))*sin(100*pi*time+angle(Ipor(3)));
Y4=abs(Is(1))*sin(100*pi*time+angle(Is(1)));
Y5=abs(Is(2))*sin(100*pi*time+angle(Is(2)));
Y6=abs(Is(3))*sin(100*pi*time+angle(Is(3)));
Y7=abs(Ig(1))*sin(100*pi*time+angle(Ig(1)));
Y8=abs(Ig(2))*sin(100*pi*time+angle(Ig(2)));
Y9=abs(Ig(3))*sin(100*pi*time+angle(Ig(3)));

plot(time,Y1,'b-',time,Y2,'b-',time,Y3,'b-', ...
     time,Y4,'r-',time,Y5,'r-',time,Y6,'r-', ... 
     time,Y7,'g-',time,Y8,'g-',time,Y9,'g-');
title('Proudy Ipor, Is a Ig');
xlabel('V poradi modra, cervena, zelena');
grid on;
