Creating A Temperature Profile of A 3D Cube

Hello,
I'm trying to show the temperature profile of a cube as it changes over time, but I'm not sure how to graph it. Is there a way to display the values of a 3D matrix as colored points on a three-dimensional plane? I plan to make the number of colored points a user-defined parameter. These colored points form the shape of the cube and will resemble a cube more closely as the number of points increases.
I've tried playing with the "image" function, but I want to be able to move the graph around from a three dimensional perspective and see how the cube's temperature changes over time.

2 Comments

Read about slice
Thanks! I took a look at the slice function. I managed to create a 3D cube based on volumetric data. Here is what I managed to create so far.
But now, I want to simulate the disapperance of points (e.g. due to vaporization). Is there a way to "delete" or make specific squares transparent if the corresponding volumetric data at that position is greater than a threshold value?

Sign in to comment.

Answers (0)

Categories

Asked:

on 11 Dec 2020

Commented:

on 17 Dec 2020

Community Treasure Hunt

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

Start Hunting!