Use the text() function to place words wherever you want on your plot.
Display legends on the line itself
5 次查看(过去 30 天)
显示 更早的评论
I have to plot a bunch of lines (like 20) in one plot this creates a lot of legends and makes me expand the size of the graph (while adding in the document so all the legends are visible) and give them different styles because if i print them in black and white I have to rely on linestyle for differenciation. Can anybody suggest how can I display the individual line legend on the line itself instead of a separate box. Thanks
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!