Hi @Afsaneh, you need a renderer, either rasterized or ray-traced (slower). My 3D Rendering Toolbox on File Exchange will easily handle this. For example, you can see the toolbox generating a Z map in the figure below.


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