trisurf to surf

8 次查看(过去 30 天)
Sven Koerner
Sven Koerner 2011-2-24
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 个评论
Pavel Kolesnichenko
编辑:Pavel Kolesnichenko 2019-7-3
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.

请先登录,再进行评论。

回答(1 个)

Sulaymon Eshkabilov
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

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by