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

2 vues (au cours des 30 derniers jours)
Roger
Roger le 21 Mar 2014
Modifié(e) : Roger le 24 Mar 2014
it works well when not using subplot ,| why? how to handle it |

Réponse acceptée

Mischa Kim
Mischa Kim le 21 Mar 2014
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 commentaires
Roger
Roger le 21 Mar 2014
thanks ,but it seems like there is no 'DisplayName' property in matlab 7.0
Roger
Roger le 24 Mar 2014
Modifié(e) : Roger le 24 Mar 2014
i made it wrong ,ur right,thanks very much

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by