how to add legends?

4 visualizaciones (últimos 30 días)
Janet
Janet el 29 de Mzo. de 2012
I want to merge 3 plots into one..how can i do that

Respuesta aceptada

M
M el 29 de Mzo. de 2012
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
doc subplot
doc legend
  1 comentario
Eric
Eric el 29 de Mzo. de 2012
Perhaps also "doc hold"

Iniciar sesión para comentar.

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by