how write legend plot right side)

4 visualizzazioni (ultimi 30 giorni)
pipor
pipor il 7 Set 2023
Commentato: Star Strider il 7 Set 2023

Risposta accettata

Star Strider
Star Strider il 7 Set 2023
Try this —
x = linspace(0, 10);
y = randn(size(x,2), 5);
figure
plot(x, y)
legend(compose('Vector %2d',1:5), 'Location','NE')
.
  7 Commenti

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by