bug in the legend command for version 2019B?

1 view (last 30 days)
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??
Leo Simon
Leo Simon on 30 Jul 2020
Sorry, I said error but meant warning. I've amended the question

Sign in to comment.

Accepted Answer

Sourabh Kondapaka
Sourabh Kondapaka on 10 Aug 2020
I have brought this issue to the notice of our developers. They will investigate the matter further.

More Answers (0)


Community Treasure Hunt

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

Start Hunting!