contour plot of a 3D Solid Object
6 次查看(过去 30 天)
显示 更早的评论
I imported the .stl file like this
fv = stlread('EXAMPLE.stl');
patch(fv,'FaceColor', [0.8 0.8 1.0], ...
'EdgeColor', 'none', ...
'FaceLighting', 'gouraud', ...
'AmbientStrength', 0.15);
grid off
hold on
axis equal
But I can't create the outline of the solid object. Anyone know how I can do?
For example the sphere in the figure
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/414523/image.jpeg)
0 个评论
回答(1 个)
Shadaab Siddiqie
2020-11-18
You can create outlines only on the edges not on a curved surface. For more information refer STL File Import.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!