How to plot a mesh with colors like contour?

3 views (last 30 days)
Xiaohan Du
Xiaohan Du on 23 Jun 2018
Answered: Star Strider on 23 Jun 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!

Answers (1)

Star Strider
Star Strider on 23 Jun 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!