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

Antworten (2)

Chris Portal
Chris Portal am 14 Apr. 2018

4 Stimmen

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 Kommentare

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 am 14 Feb. 2019
This solved the problem for me.. Thanks!

Melden Sie sich an, um zu kommentieren.

Jonas Widmer
Jonas Widmer am 10 Apr. 2018

0 Stimmen

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

Kategorien

Mehr zu Surfaces, Volumes, and Polygons finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 6 Apr. 2018

Kommentiert:

am 14 Feb. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by