close all;
resting = [-1.2 -0.625];

N = 60;
ySS = zeros(1,N*4);
ySS(1:2:end) = resting(1);
ySS(2:2:end) = resting(2);
ySS(2) = -3;
yss(1) = -3;

[t,x]=ode45('fnode_parc2',[0 60],ySS);
figure
 for i=1:N-5
     plot(x(:,(i-1)*2+1));
     ylim([-2,3])
     pause(0.1);
     %waitforbuttonpress;
 end

 %
for i = 1:length(t)
    plot(x(i,1:2:end))
    ylim([-2 3]);
    pause(0.02);
end
 %}