フィルターのクリア

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

1 回表示 (過去 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 Center および File ExchangeGeometry and Mesh についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by