How can I plot 3D scattared data on a triangulated 3D body
1 view (last 30 days)
Show older comments
Marcus Engert
on 20 May 2015
Answered: Mike Garrity
on 20 May 2015
I have a pressure distribution which I would like to plot on a dummy whose geometry is available as triangulated data
0 Comments
Accepted Answer
Mike Garrity
on 20 May 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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!