How to label the curve instead of using legend?
Afficher commentaires plus anciens
I wrote a code to plot a lot of graphs but while visualizing it becomes difficult to accertain which curve I am looking at, as some curves seems to have similar color. Is there any way I can add a name to the curve which is displayed the on the curve ( not like legend, it would appear near the individual curve) ?

Réponse acceptée
Plus de réponses (1)
Abhishek Tiwari
le 19 Juin 2022
Modifié(e) : Abhishek Tiwari
le 19 Juin 2022
0 votes
Hi,
You can label your curve using text. Choose one of the point on each curve and add text in there to serve as a label.
Example:
openExample('graphics/LabelPointOnGraphExample') % use MATLAB Online
These might be useful:
1 commentaire
Milind Amga
le 19 Juin 2022
Catégories
En savoir plus sur Legend 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!
