Trisurf in App Designer

조회 수: 9 (최근 30일)
Jonas Widmer
Jonas Widmer 2018년 4월 6일
댓글: Humam Helfawi 2019년 2월 14일
Hi all,
I try to plot a polygon mesh via trisurf() in app-designer into the axes object. However, I'm not sure if this is possible. Could someone help me to do that, please?
Best, J

답변 (2개)

Chris Portal
Chris Portal 2018년 4월 14일
TRISURF doesn't appear to support an axes to be passed in as the first input argument. Instead, it can take it via PV pairs as follows:
trisurf(my_Data, 'Parent', app.View)
  댓글 수: 2
Michal Kurzynka
Michal Kurzynka 2018년 4월 18일
Hi, After calling:
trisurf(my_Data, 'Parent', app.View)
MATLAB returns error:
Error using patch
Functionality not supported with UIAxes. For more information, see Graphics Support in App Designer.
Error in trisurf (line 90)
h = patch('faces',trids,'vertices',[x(:) y(:) z(:)],'facevertexcdata',c(:),...
Is there any way around this?
Humam Helfawi
Humam Helfawi 2019년 2월 14일
This solved the problem for me.. Thanks!

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


Jonas Widmer
Jonas Widmer 2018년 4월 10일
No answer to this? Would appreciate every help! Best, J

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by