Triangle mesh and plotting
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I'm quite new to Matlab so I may overlook something very simple. Currently I am working with a 2D triangular mesh that I obtained from the 'delaunay' function. At the nodes of the triangles a velocity of the ground surface is defined (tectonics). For each triangle I use the velocity of each of the three nodes to get an estimate for (assumed) uniform strain within the triangle. So now I have a set of triangles 'tri' that I got from 'delaunay' and strain measure for each triangle.
But I don't know how I can plot this data. I would like to use a function that plots the triangles in 2D and assigns a color to it based on the magnitude of the strain measure for that triangle. This should ideally give me a set of triangles, each with a uniform color corresponding to the amount of strain of that triangle. I have browsed the Internet for several hours but I can not find something that does this for me. The only thing I found is a function that interpolates nodal values (that I don't have) over a triangle. Not something that uses my triangle mesh and colors each triangles uniformly with a color depending on another vector (containing strain for each triangle in this case). Does anyone have a tip for me?
(P.S. I posted in Newsreader before, but I think this place might be more appropriate)
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Delaunay Triangulation dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!