mesh display with element values
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
If I use patch to display a mesh, I can color code the mesh surface by specifying the nodal values. However, from finite element methods, frequently I only have element values (i.e., scalar values for each element, but not for each node). In this case, how can I efficiently display the mesh in Matlab and color code the surface then? Can I color code directly each patch instead of the node?
If not, then I could interpolate values on the nodes, and then do display using patch. Then my other question is, when I open the graphics handle, which field corresponds to the scalar values I used for the node then?
thanks.
0 Commenti
Risposte (1)
Walter Roberson
il 8 Apr 2013
surf() might do the interpolation in a way that suits you. The values you provide would become the CData property of the surface.
If you use patch() then you can specify VertexCData or FaceCData properties.
0 Commenti
Vedere anche
Categorie
Scopri di più su Polygons in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!