trisurf to surf

12 vues (au cours des 30 derniers jours)
Sven Koerner
Sven Koerner le 24 Fév 2011
Hi, does anyone know a calculation for converting data from trisurf-plots in surf-plots?
If there is data TRI,X,Y and Z for generating a trisurf plot ( trisurf(Tri,X,Y,Z)), how can I convert the data to Xnew, Ynew and Znew, so that I get the same figure as with trisurf-function while doing surf(Xnew, Ynew, Znew)?
  1 commentaire
Pavel Kolesnichenko
Pavel Kolesnichenko le 3 Juil 2019
Modifié(e) : Pavel Kolesnichenko le 3 Juil 2019
I have similar question: is there a way to extract X,Y,Z-values from 'trisurf'-plot in the format that would be suitable to feed into 'surf'-command.

Connectez-vous pour commenter.

Réponses (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov le 1 Juin 2021
Here is a nice code developed by a matlab community user:
A few codes on surf and trisurf plotting options:
https://stackoverflow.com/questions/9170838/surface-plots-in-matplotlib

Catégories

En savoir plus sur Printing and Saving dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by