Remove edges in pdegplot

조회 수: 2 (최근 30일)
Tom Dillon
Tom Dillon 2021년 7월 14일
편집: Cris LaPierre 2021년 7월 14일
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에서 General PDEs에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by