R2017a line() Automatically Appends to Current Legend

1 回表示 (過去 30 日間)
William Lu
William Lu 2017 年 3 月 28 日
コメント済み: William Lu 2017 年 3 月 28 日
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?

採用された回答

Steven Lord
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 ExchangeLegend についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by