how to add label to diagram plotted using plot function?
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
how to add label to diagram plotted using plot function?
2 commentaires
Réponse acceptée
Preethi
le 13 Fév 2019
hi,
hope this helps
xlabel('X axis'); % to label X axis
Ylabel('Value'); % to label Y axis
title('Name'); %to provide title to your plot
3 commentaires
Preethi
le 14 Fév 2019
check this
for circle
plot(x,y);
c = cellstr(b);%b contains the characters you want to print in plot
dx = 0.1; dy = 0.1;
text(x+dx, y+dy, c);
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!