HowTo make slice grid transparent?

3 ビュー (過去 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 Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by