R2017a line() Automatically Appends to Current Legend
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
William Lu
am 28 Mär. 2017
Kommentiert: William Lu
am 28 Mär. 2017
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 Kommentare
Akzeptierte Antwort
Steven Lord
am 28 Mär. 2017
According to the Release Notes, yes. That Release Note entry also describes several approaches you can use to disable or avoid this behavior.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Legend finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!