Visualizing Temperature Distribution in 3D using MATLAB

  • Context: MATLAB 
  • Thread starter Thread starter russel.arnold
  • Start date Start date
  • Tags Tags
    3d 4d Plotting
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 5K views
russel.arnold
Messages
38
Reaction score
0
I have a temperature distribution T = T(x,y,z). I want to visualise it in MATLAB ( such that the colour(s) used by MATLAB in plotting should give me an idea of depth of temperature i.e whether its high or low compared to its neighbouring points).

Please help
 
Physics news on Phys.org
A plot of the graph of w = T(x, y, z) requires four dimensions, as you recognize in your title. You might be able to reduce the dimensions required if the temperature decreases radially, so that w = T(r). IOW, if the temperature at any two points the same distance from the origin is the same, you don't need all three coordinates of the point - just one distance.
 
well actually it isnt..I need all the three cartesian coordinates( a must) and i want to visualise it in 3D where colors will depict the value of temperature at corresponding points. So basically i will form a n*n*n array in MATLAB to define T= T(x,y,z)