Remove edges in pdegplot
3 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
Cris LaPierre
on 14 Jul 2021
Edited: Cris LaPierre
on 14 Jul 2021
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)
% Use h(2) to access the line properties
h(2).Color = 'none';
0 Comments
More Answers (0)
See Also
Categories
Find more on General PDEs 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!