필터 지우기
필터 지우기

R2017a line() Automatically Appends to Current Legend

조회 수: 2 (최근 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 CenterFile Exchange에서 Legend에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by