HowTo make slice grid transparent?

조회 수: 21 (최근 30일)
Kathy Primakova
Kathy Primakova 2022년 4월 21일
댓글: Voss 2022년 4월 22일
I need to draw 3 planes fnd I use slice function, but also I need to make grid transparent. Please, help me to do it!
My code:
V = matrix(); % matrix() is a function, V is a 3D data array
x_3 = -15:0.1:14.9;
y_3 = -14:0.1:13.9;
z_3 = -2:0.1:38;
% x, y and z are integer
h(1) = slice(y_3, x_3, z_3, V, x, y, z);
Thank You!

채택된 답변

Voss
Voss 2022년 4월 21일
x_3 = -15:0.1:14.9;
y_3 = -14:0.1:13.9;
z_3 = -2:0.1:38;
V = rand([numel(x_3) numel(y_3) numel(z_3)]);
s = slice(y_3, x_3, z_3, V, 1,1,1);
set(s,'EdgeColor','none');
  댓글 수: 2
Kathy Primakova
Kathy Primakova 2022년 4월 22일
Thank you very much !!!
Voss
Voss 2022년 4월 22일
You're welcome!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by