How I can add marker names with plot function?
Afficher commentaires plus anciens
station_id={'abcd','brmu','vcfd','mnnn'};
lon = [ 2.3349 12.878 8.6649 13.066 ];
lat = [ 48.835 49.1442 50.0906 52.3792 ];
plot(lon,lat,'.r','MarkerSize',20,'Marker','o', 'MarkerFaceColor', 'blue')
xlabel('Longtitude')
ylabel('Latitude')
title('STATIONS')
I need to add "station_id" for each marker in the plot figure.
Réponse acceptée
Plus de réponses (1)
Alessandro Masullo
le 5 Mai 2016
0 votes
You can use the function text
Catégories
En savoir plus sur Annotations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!