Instead of a legend display for a plot, I would like to have the labels of each curve next to it

1 view (last 30 days)
Here's my graph:
and here's the graph I'm trying to replicate:
Notice how the labels are either on top(or bottom) of each curve for plots a. and c instead of a legend. How can I replicate this?

Answers (1)

Star Strider
Star Strider on 10 Dec 2021
Use the text function.

Community Treasure Hunt

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

Start Hunting!

Translated by