how can I display number on city locations ?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
figure('Name','City Locations','Numbertitle','on');
plot(xy(:,1),xy(:,2),'bo');
........... ........
......... ..........
figure(pfig);
route = best_route([1:n 1]);
plot(xy(route,1),xy(route,2),'b.-');
title(sprintf('Total Distance = %1.4f, Iteration = %d',min_dist,iter));
0 Kommentare
Antworten (1)
the cyclist
am 23 Apr. 2013
Bearbeitet: the cyclist
am 23 Apr. 2013
You could use the text() function.
>> doc text
for details.
1 Kommentar
Siehe auch
Kategorien
Mehr zu Genetic Algorithm finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!