Borrar filtros
Borrar filtros

How to put trisurf into my matlab app

6 visualizaciones (últimos 30 días)
YEONWOO KIM
YEONWOO KIM el 3 de Jun. de 2020
Comentada: Joost el 3 de Jun. de 2020
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?

Respuestas (1)

Joost
Joost el 3 de Jun. de 2020
Editada: Joost el 3 de Jun. de 2020
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 comentarios
YEONWOO KIM
YEONWOO KIM el 3 de Jun. de 2020
thanks. it solved with "trisurf(tri, X, Y, Z, p+Pmin, 'Parent', app.UIAxes);"
Joost
Joost el 3 de Jun. de 2020
Glad I could help. Please 'Accept' my answer, for future reference.

Iniciar sesión para comentar.

Categorías

Más información sobre App Building en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by