How to put trisurf into my matlab app

9 次查看(过去 30 天)
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 中查找有关 Signal Integrity Kits for Industry Standards 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by