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

3 次查看(过去 30 天)
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?

回答(1 个)

Star Strider
Star Strider 2021-12-10
Use the text function.

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by