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

조회 수: 1 (최근 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 CenterFile Exchange에서 2-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