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

조회 수: 4 (최근 30일)
TaeGyung Lee
TaeGyung Lee 2017년 3월 15일
답변: alejandro perez 2020년 2월 2일
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