필터 지우기
필터 지우기

How to put trisurf into my matlab app

조회 수: 6 (최근 30일)
YEONWOO KIM
YEONWOO KIM 2020년 6월 3일
댓글: Joost 2020년 6월 3일
I tried to put my trisurf chart into my matlab app. But it couldnt work.
trisurf(app.UIAxes, tri,X,Y,Z,p+Pmin);
trisurf(tri,X,Y,Z,p+Pmin,app.View);
How can I use trisurf with UIAxes or Matlab app?

답변 (1개)

Joost
Joost 2020년 6월 3일
편집: Joost 2020년 6월 3일
Please try this:
trisurf(tri, X, Y, Z, p+Pmin, 'Parent', app.View);
or
trisurf(tri, X, Y, Z, p+Pmin, 'Parent', app.UIAxes);
It is probably the latter, it should refer to the axes object on the canvas, not the app itself.
  댓글 수: 2
YEONWOO KIM
YEONWOO KIM 2020년 6월 3일
thanks. it solved with "trisurf(tri, X, Y, Z, p+Pmin, 'Parent', app.UIAxes);"
Joost
Joost 2020년 6월 3일
Glad I could help. Please 'Accept' my answer, for future reference.

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

카테고리

Help CenterFile Exchange에서 App Building에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by