Is it possible to plot a function T(x,y,z,t), or even just T(x,y,z)?
5 views (last 30 days)
Show older comments
want to plot a function T(x,y,z,t) for a x=0:pi, y=0:pi, z=0:pi, and some t=0:... Is this possible? Im trying to show heat heat dissipation in a 3D cube over time.
0 Comments
Accepted Answer
Matt Kindig
on 11 Oct 2012
Sure, the easiest way is to represent the T value using color, using scatter3 (for discrete data), or patch/surf (for continuous data, like a function). You can further use transparency to show a fifth dimension (by modifying the 'AlphaData' property of the points), although this might be too difficult to read.
doc scatter3
doc surf
More Answers (0)
See Also
Categories
Find more on Live Scripts and Functions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!