bug in the legend command for version 2019B?

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 comentarios

Stijn Haenen
Stijn Haenen el 30 de Jul. de 2020
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 el 30 de Jul. de 2020
Sorry, I said error but meant warning. I've amended the question

Iniciar sesión para comentar.

 Respuesta aceptada

Sourabh Kondapaka
Sourabh Kondapaka el 10 de Ag. de 2020

0 votos

Hi,
I have brought this issue to the notice of our developers. They will investigate the matter further.

Más respuestas (0)

Etiquetas

Preguntada:

el 30 de Jul. de 2020

Respondida:

el 10 de Ag. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by