x,y,z coordinates and temperature-slice plot
4 views (last 30 days)
Show older comments
Hi,
I am interested in visualising temperature or heat distribution with surface plot like slice.
I have a 3d box of my heat tranfer simulation having around 30,000 small particles inside it.For each particle I have x,y,z coordinates for its position and corresponding temperature. I obtained a text file from my simulation results having four columns for my data, containing -"x" "y" "z" "temperature".
x,y,z coordinates vary in range from 0 to 7 and temperature varies from 0 to 1000 Kelvin. Out of these particles some are heated and very high in temperature and some have relatively low temperature. I am able to draw a 3d-scatter plot from these x,y,z and I am coloring them with my temperature value.
=scatter3(x,y,z,s,temperature) colorbar
So it shows hot particles as red colored.
But scatter plot is not good enough to see the heat transfer or temperature distribution in my case(due to many particles).I want to see heat transfer from hot to cold particles.I searched for some prevoius matlab answers for such questions but its not working here. I am intersted in plotting with x,y,z and coloring with temperature. I want to visualise this as a slice or suitable surface plot so that I can see inside of the dense box and ultimately heat transfer.
Thanks.
3 Comments
Michela Longhi
on 12 Dec 2017
Dear Dipti,
how do you draw a 3d-scatter plot from these x,y,z and colored them with my temperature value?
Thanks
Answers (0)
See Also
Categories
Find more on Scatter 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!