How to plot a mesh with colors like contour?

1 次查看(过去 30 天)
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!

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by