Trisurf in App Designer

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 日

4 投票

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 日

0 投票

No answer to this? Would appreciate every help! Best, J

カテゴリ

ヘルプ センター および File ExchangeDevelop Apps Using App Designer についてさらに検索

質問済み:

2018 年 4 月 6 日

コメント済み:

2019 年 2 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by