How can I plot 3D scattared data on a triangulated 3D body

I have a pressure distribution which I would like to plot on a dummy whose geometry is available as triangulated data

 Respuesta aceptada

Mike Garrity
Mike Garrity el 20 de Mayo de 2015
I don't have a good, ready to use example, but I can explain the basic idea.
You have a triangle mesh. What you probably want to do is to display it as a patch with FaceColor='interp', with the colors representing your pressures. Kind of like what the PDE Toolbox does .
If your pressure data is measured at the vertices of your mesh, then it's pretty easy, but I'm guessing that's not the case. If it isn't then you need to map your measurements to the nearest location on the mesh. The tools described in this part of the documentation are what you want to use for that.
I hope that helps.

Más respuestas (0)

Categorías

Preguntada:

el 20 de Mayo de 2015

Respondida:

el 20 de Mayo de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by