how to add legends?

 Respuesta aceptada

M
M el 29 de Mzo. de 2012

1 voto

You can also use the following:
hold on %after the first plot to continue plotting on the same figure
legend on
% or legend('plot1','plot2','plot3');

Más respuestas (1)

Sean de Wolski
Sean de Wolski el 29 de Mzo. de 2012

0 votos

doc subplot
doc legend

Etiquetas

Preguntada:

el 29 de Mzo. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by