How to plot 3-d matrix in the form of cube?

11 次查看(过去 30 天)
I have a 26*26*26 matrix with numbers between 0 to 1. How do I plot the matrix in the form of colored cube with 1 as red and 0 as transparent??

采纳的回答

KSSV
KSSV 2017-3-15
See this code. It will be helpful to plot a cube. https://in.mathworks.com/matlabcentral/fileexchange/15161-plotcube

更多回答(1 个)

alejandro perez
alejandro perez 2020-2-2
In the description of this video is the code of a colored cube which rotates, moves and grows up.

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by