trisurf to surf

12 views (last 30 days)
Sven Koerner
Sven Koerner on 24 Feb 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 Comment
Pavel Kolesnichenko
Pavel Kolesnichenko on 3 Jul 2019
Edited: Pavel Kolesnichenko on 3 Jul 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.

Sign in to comment.

Answers (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 1 Jun 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

Categories

Find more on Printing and Saving in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!