subplot,it can not show the line's name in plot broswer

 Respuesta aceptada

Roger, are you referring to the DisplayName?
subplot(2,1,1)
h1 = plot(x,y1)
set(h1,{'DisplayName'},{'xy1'})
subplot(2,1,2)
h2 = plot(x,y2)
set(h2,{'DisplayName'},{'xy2'})
Alternatively, you can set this property in the Property Editor:

2 comentarios

Roger
Roger el 21 de Mzo. de 2014
thanks ,but it seems like there is no 'DisplayName' property in matlab 7.0
Roger
Roger el 24 de Mzo. de 2014
Editada: Roger el 24 de Mzo. de 2014
i made it wrong ,ur right,thanks very much

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Preguntada:

el 21 de Mzo. de 2014

Editada:

el 24 de Mzo. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by