How to write the name of the plot against the line?

Hey guys!
I am trying to create line plots in MATLAB. Instead of using a legend, I want to write the name of the plot against the line itself (like we can do in Excel).
How can we do so?
Thanks!

 Réponse acceptée

Star Strider
Star Strider le 24 Juil 2014

0 votes

Experiment with the text function. It should be able to give you the result you want.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by