function show_the_solution(result) % result=zeros(8); imshow(1-result,'InitialMagnification','fit') hold on u=[0 9]; % v=[i i]; for i=0.5:1:8.5 v=[i i]; line(u,v,'color','k') end % u=[i i]; v=[0 9]; for i=0.5:1:8.5 u=[i i]; line(u,v,'color','k') end end