Imagesc for triangular element

9 views (last 30 days)
Torkan on 3 Feb 2019
Commented: KSSV on 4 Feb 2019
I have a plate with mesh of triangular elements. I have specific number for each element. How can I use imagesc to have contourplot of those values? it is different from trisurf function of course?

Accepted Answer

KSSV on 4 Feb 2019
YOu can straight away plot contour with your data. Have a look in the following file exchange function:
If you want to use imagesc you have to convert your unstructured data into structured data either by using scatteredinterpolant or griddata.
KSSV on 4 Feb 2019
imagesc works on structured grids i.e matrices......tricontour will work....

Sign in to comment.

More Answers (1)

Torkan on 4 Feb 2019
walter thank you so much for detail


Community Treasure Hunt

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

Start Hunting!