How to plot a mesh with colors like contour?

1 visualizzazione (ultimi 30 giorni)
Xiaohan Du
Xiaohan Du il 23 Giu 2018
Risposto: Star Strider il 23 Giu 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!

Risposte (1)

Star Strider
Star Strider il 23 Giu 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