Are there xdata and ydata properties for fill command?

조회 수: 1 (최근 30일)
Ali
Ali 2014년 12월 2일
댓글: Azzi Abdelmalek 2014년 12월 2일
Are there xdata and ydata properties for fill command? If not what is suitable to change their x and y components because i want to set them. Thanks

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 12월 2일
x=[0 10 10 5 0 ]
y=[0 0 2 1 2 ]
h=fill(x,y,'r')
get(h,'xdata')
get(h,'ydata')
  댓글 수: 2
Ali
Ali 2014년 12월 2일
Thank you but how can I use it to set my xdata and ydata for fill?
Azzi Abdelmalek
Azzi Abdelmalek 2014년 12월 2일
y=[0 0 2 5 2 ] % change y for example
set(h,'ydata',y)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by