%grafico 3d della soluzione

load graph.txt
close all
nt=max(size(graph))/4;

figure
for i=1:nt
    ind=1+4*(i-1);
    xt=graph(ind:ind+3,1);
    yt=graph(ind:ind+3,2);
    zt=graph(ind:ind+3,3);
    plot3(xt,yt,zt)
    hold on
end

figure
for i=1:nt
    ind=1+4*(i-1);
    xt=graph(ind:ind+3,1);
    yt=graph(ind:ind+3,2);
    plot(xt,yt)
    hold on
end
axis('equal')