function vykresli_reseni_MHP(x,e,q)

% vykresli_reseni_MHP(x,e,q)

ne = size(e,2);

figure
hold on
for i=1:ne
    ei = e(:,i);

    xi1 = x(:,ei(1));
    xi2 = x(:,ei(2));
    qi = q(i);
       
    plot3([xi1(1),xi2(1)],[xi1(2),xi2(2)],[qi,qi]);

end
hold off
