MATLAB: Plot and legend position with line

MATLABplot legend

Dear freinds
Plese see the attachement.
Is it possible arrange legend like this, inside the line ?
Thank you.

Best Answer

The legend, no. You could use the text function, but would manually have to create and position each label.
See this answer for more details.