
clf;

hold on;

t=4; h=0.5; nodix=4;

lato_basso=[0 0; 1 0]; plot(lato_basso(:,1),lato_basso(:,2),'k-');
lato_sx=[0 0; 0 4]; plot(lato_sx(:,1),lato_sx(:,2),'k-');
lato_dx=[1 0; 1 4]; plot(lato_dx(:,1),lato_dx(:,2),'k-');


s=0:h:t;
hx=1/nodix;

for index=1:nodix-1
    xloc=index*hx;
    linea_1=[xloc 0; xloc 4]; plot(linea_1(:,1),linea_1(:,2),'g-');
    x=xloc*ones(size(s));
    plot(x,s,'bs');
end

hold off;