function drawSolution1d(uzly,usecky,u)

figure
hold on
m = size(usecky,2);
for i=1:m
    idx1 = usecky(1,i);
    idx2 = usecky(2,i);
    plot(uzly([idx1,idx2]),u([idx1,idx2])');
end
hold off