How can I plot columnar grains?

I have a cube of 30x30x30 small cubes. Each cube will be called element. How can I plot something like the following image? This RVE has columnar grains with each grain being different in color. No element will share two grains.
Thanks!

Risposte (1)

Image Analyst
Image Analyst il 29 Set 2023
Modificato: Image Analyst il 1 Ott 2023

0 voti

Perhaps the Volume Viewer app on the Apps tab of the tool ribbon.

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by