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

2 ビュー (過去 30 日間)
Roger
Roger 2014 年 3 月 21 日
編集済み: Roger 2014 年 3 月 24 日
it works well when not using subplot ,| why? how to handle it |

採用された回答

Mischa Kim
Mischa Kim 2014 年 3 月 21 日
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 件のコメント
Roger
Roger 2014 年 3 月 21 日
thanks ,but it seems like there is no 'DisplayName' property in matlab 7.0
Roger
Roger 2014 年 3 月 24 日
編集済み: Roger 2014 年 3 月 24 日
i made it wrong ,ur right,thanks very much

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by