pdegplot(m​odel1,'Fac​eLabels','​on')

Hello,
I have a question about the pdegplot command. The face labels are very hard to see, so it's hard to tell what faces correspond to what number. For some reason, my stl is broken up into 13 surfaces, with many small surfaces. Is there a way to tell matlab to merge the surfaces together and is there a trick to locating the number of the surface?
Thank You,
Vitaly

답변 (1개)

Alan Weiss
Alan Weiss 2016년 12월 15일

0 개 추천

Sorry, at the moment there is no way to change the way that MATLAB infers surfaces from an STL file.
I suggest that you examine your surface using some transparency:
pdegplot(model,'FaceLabels','on','FaceAlpha',0.5)
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation

댓글 수: 3

Vitaly Kheyfets
Vitaly Kheyfets 2016년 12월 15일
Alan,
Thank you for your email.
Is 'FaceAlpha' a new feature? I am using Matlab 2016a and it does not recognize that feature and I don't think it's mentioned in the help document.
Thanks,
Vitaly
Yes, it is not supported in your version. Instead, use this workaround from the R2016a documentation:
h = pdegplot(model,'FaceLabels','on');
h(1).FaceAlpha = 0.5;
Alan Weiss
MATLAB mathematical toolbox documentation
Vitaly Kheyfets
Vitaly Kheyfets 2016년 12월 16일
Great, thanks!

댓글을 달려면 로그인하십시오.

카테고리

태그

질문:

2016년 12월 15일

댓글:

2016년 12월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by