How to put trisurf into my matlab app

7 ビュー (過去 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 Center および File ExchangeApp Building についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by