:));
0142         newidx=newidx(find(newidx));
0143         <span class="keyword">if</span> length(newidx)==length(idx)
0144             disp(<span class="string">'All nodes are linked, continue to next section'</span>)
0145             keepgoing=0;
0146             
0147             transect.x=[transect.x;x(idx)];
0148             transect.y=[transect.y;y(idx)];
0149             transect.idx=[transect.idx;idx(:)];
0150             plot(transect.x,transect.y,<span class="string">'wo'</span>);
0151          