% TSP plot init: Initialize a graphical representation
% for TSP

function tspfigure = InitTSPPlot(citydata,range);

tspfigure = figure;
set(tspfigure,'DoubleBuffer','on');
axis([range(1),range(2),range(3),range(4)]);
axis square;
grid on;
for i = 1:length(citydata)
   city(i) = rectangle('Position', [citydata(i,1)-0.25 citydata(i,2)-0.25 0.5 0.5],'Curvature', [1 1]);
end
%drawnow;
   