Adding colour data to voxels in 3D space

I have created a voxel plot as shown below which describes the arrangement of blocks in a structure. Each block has a value of a temperature asscoiated with it. Is there a way to link these values to the respective cuboids in the created voxel plot so that it can show the temperature distribution between the different cuboids in the arrangement (like that with a colorbar)?
There are 37 blocks, each with a different temperature reading.
Voxel_plot.PNG

Answers (0)

Community Treasure Hunt

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

Start Hunting!