Borrar filtros
Borrar filtros

How to Hide Legend of Plot 2?

2 visualizaciones (últimos 30 días)
Matty
Matty el 14 de Oct. de 2022
Respondida: Star Strider el 14 de Oct. de 2022
zeys = n;
text = ['Run ',num2str(zeys)];
plot(x,y,'DisplayName',text);
plot(xmax,ymax,'^r')
legend show

Respuestas (1)

Star Strider
Star Strider el 14 de Oct. de 2022
Perhaps —
zeys = n;
text = ['Run ',num2str(zeys)];
hp1 = plot(x,y,'DisplayName',text);
hp2 = plot(xmax,ymax,'^r');
legend(hp1, 'Location','best)
.
.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by