bug in the legend command for version 2019B?

조회 수: 1 (최근 30일)
Leo Simon
Leo Simon 2020년 7월 30일
답변: Sourabh Kondapaka 2020년 8월 10일
This command does not throw an warning
close all;plot(1:10);legend([ 'E$\hat{s}_{' n2s(ii) '}$' ],'Interpreter','latex','AutoUpdate','off')
But this one does.
close all;plot(1:10);legend([ 'E$\hat{s}_{' n2s(ii) '}$' ],'AutoUpdate','off','Interpreter','latex')
Surely the ordering of the options shouldn't matter, which means this must be a bug??
  댓글 수: 2
Stijn Haenen
Stijn Haenen 2020년 7월 30일
I only get a warning (not an error) with the last one, both give the same result. I have also 2019b.
Leo Simon
Leo Simon 2020년 7월 30일
Sorry, I said error but meant warning. I've amended the question

댓글을 달려면 로그인하십시오.

채택된 답변

Sourabh Kondapaka
Sourabh Kondapaka 2020년 8월 10일
Hi,
I have brought this issue to the notice of our developers. They will investigate the matter further.

추가 답변 (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