How to Hide Legend of Plot 2?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
zeys = n;
text = ['Run ',num2str(zeys)];
plot(x,y,'DisplayName',text);
plot(xmax,ymax,'^r')
legend show
0 Commenti
Risposte (1)
Star Strider
il 14 Ott 2022
Perhaps —
zeys = n;
text = ['Run ',num2str(zeys)];
hp1 = plot(x,y,'DisplayName',text);
hp2 = plot(xmax,ymax,'^r');
legend(hp1, 'Location','best)
.
.
0 Commenti
Vedere anche
Categorie
Scopri di più su Legend in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!