How to plot a mesh with colors like contour?

4 vues (au cours des 30 derniers jours)
Xiaohan Du
Xiaohan Du le 23 Juin 2018
Hi all,
I have a mesh information including deformation, nodes and connectivity. Now I'd like to visualize it with a coloured plot, if I plot it looks like this:
Is there any way to make it like this, where larger deformed areas are plotted with darker colors (this is a demo I found on the internet)?
Many thanks!

Réponses (1)

Star Strider
Star Strider le 23 Juin 2018
See if the trisurf (link) function does what you want.

Community Treasure Hunt

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

Start Hunting!

Translated by