필터 지우기
필터 지우기

to make a specific position of the surface image transparent

조회 수: 3 (최근 30일)
형준 이
형준 이 2022년 6월 24일
답변: 형준 이 2022년 6월 24일
in making 3d image by 3d data,
I want to make low value of data transpartent so that portion of high value remains
i think some people interested that question (https://kr.mathworks.com/matlabcentral/answers/515658-make-white-portions-of-slice-of-flow-data-transparent). but i failed to apply .....
my code and results are in below. please somebody help me.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
%% CODE
C1(C1<2.1) = 10; % low value → high value (to highlight the high value data
H = slice(C1, [], [], 1:size(C1,3));
set(H, 'edgecolor', 'none', 'facecolor', 'interp'); alpha(.04);
colormap("hot"); axis equal; axis tight; grid off; caxis([0 4.5]); colorbar;
view(3)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------

채택된 답변

형준 이
형준 이 2022년 6월 24일
I make it yeah!

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Red에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by