How to plot a mesh with colors like contour?

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!

Respuestas (1)

Star Strider
Star Strider el 23 de Jun. de 2018

0 votos

See if the trisurf (link) function does what you want.

Etiquetas

Preguntada:

el 23 de Jun. de 2018

Respondida:

el 23 de Jun. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by