changing the location of num2str
Mostra commenti meno recenti
Hi, I am using the following to illustrate the index of the (x,y) location inside a polygon. text(x(i),y(i),num2str(i) With the above code I get the numbers exactly on the (x,y) point. Does someone know how to change that location?
Risposta accettata
Più risposte (1)
Walter Roberson
il 11 Gen 2017
0 voti
text() offers horizontal and vertical alignment options so that you can say whether the text is to begin at that coordinates or end there or be centered there.
Categorie
Scopri di più su Graph and Network Algorithms in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!