function complete_graph(N)
    
  xcords = cos(2*%pi/N*(0:N-1));
  ycords = sin(2*%pi/N*(0:N-1));
  
  MaxLinks = (N*(N-1)/2);
  
  count = 1
  for ind1 = 1:N-1
    for ind2 = ind1+1:N
      px(1,count) = xcords(ind1);
      px(2,count) = xcords(ind2);
      py(1,count) = ycords(ind1);
      py(2,count) = ycords(ind2);     
      count = count + 1;
    end
  end

  clf
  a=get("current_axes");//get the handle of the newly created axes
  a.data_bounds=[-1,-1;1,1];
  
  xpolys(px,py)
  
  
  
endfunction
