Creating A Temperature Profile of A 3D Cube

2 vues (au cours des 30 derniers jours)
Fong Chenananporn
Fong Chenananporn le 11 Déc 2020
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 commentaires
KSSV
KSSV le 11 Déc 2020
Read about slice
Fong Chenananporn
Fong Chenananporn le 17 Déc 2020
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?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Color and Styling dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by