How to make certain faces of a 3D Plot transparent?
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Geometry and Mesh in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!