How can I add some labels for a group of curves
1 次查看(过去 30 天)
显示 更早的评论
Hi all
I have wriiten a program which the output is a group of curves.
I want to add a label for each curve and the points of each curve also connected by a line. my program is as below:
plot(x(i), y(j), '--rs', 'LineWidth', 1, 'MarkerEdgeColor', 'r', 'MarkerFaceColor', 'b', 'MarkerSize', 2);
hold on
xlim([40000 500000]);
ylim([5000 70000]);
can you guide me.
0 个评论
回答(1 个)
the cyclist
2011-11-26
I expect you could use either the legend() or text() commands to do what you want.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Text Analytics Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!