how write legend plot right side)

3 visualizaciones (últimos 30 días)
pipor
pipor el 7 de Sept. de 2023
Comentada: Star Strider el 7 de Sept. de 2023

Respuesta aceptada

Star Strider
Star Strider el 7 de Sept. de 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 comentarios
pipor
pipor el 7 de Sept. de 2023
good!
Star Strider
Star Strider el 7 de Sept. de 2023
Thank you!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Legend en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by