Triangle mesh and plotting
13 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Delaunay Triangulation 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!