필터 지우기
필터 지우기

How to make certain faces of a 3D Plot transparent?

조회 수: 3 (최근 30일)
Hayden Bland
Hayden Bland 2020년 10월 19일
I have a model (shown below) that represents a ball lying within a parallel plate capacitor. I wish to be able to view solely the ball, but the colored surfaces of the parallel plate prevent me from seeing the accurate color shift in the ball. I was wondering if there was a way that I could make only the faces of the plates transparent so I could only see the ball.
I have attempted to make the node values for everything but the ball nodes NaN, but that prevents the 3D plot from being created in the first place. This is based off a model imported from MatLab, so the code inputted is as follows.
importGeometry(model,'One-Ball System.STL')
figure(1)
pdegplot(model,'FaceLabels','on','FaceAlpha',0.2)

답변 (0개)

카테고리

Help CenterFile Exchange에서 Geometry and Mesh에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by