R2017a line() Automatically Appends to Current Legend
3 次查看(过去 30 天)
显示 更早的评论
Recently upgraded from R2015b to R2017a.
Plots now have extraneous legend labels.
Found that line() appends to the current legend.
Example:
figure;
plot(1,1);
legend('a');
line(1,1);
Is this supposed to happen?
0 个评论
采纳的回答
Steven Lord
2017-3-28
According to the Release Notes, yes. That Release Note entry also describes several approaches you can use to disable or avoid this behavior.
更多回答(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!