Remove edges in pdegplot

2 次查看(过去 30 天)
Hi,
I was wondering if it is possible to remove edges / make the edges of a PDEG plot transparent in some way? When I use the command
pdegplot(model,'FaceLabels','off','EdgeAlpha',0) or similar, MATLAB does not recognize the EdgeAlpha command. Thanks
Best
Tom

采纳的回答

Cris LaPierre
Cris LaPierre 2021-7-14
编辑:Cris LaPierre 2021-7-14
There is no EdgeAlpha property to set.
Consider capturing the graphics handle and using that to set the line color in your plot to 'none'.
model = createpde;
importGeometry(model,'BracketWithHole.stl');
h = pdegplot(model,'FaceLabels','off','FaceAlpha',0.5)
h =
1×2 graphics array: Patch Line
% Use h(2) to access the line properties
h(2).Color = 'none';

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Geometry and Mesh 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by