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

1 次查看(过去 30 天)
I have a pressure distribution which I would like to plot on a dummy whose geometry is available as triangulated data

采纳的回答

Mike Garrity
Mike Garrity 2015-5-20
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by