Transparency causes nonsmooth lines
이전 댓글 표시
When I set transparency in the figure, the original smooth line becomes nonsmooth.
[x,y] = meshgrid(-2:.2:2);
z = x.*exp(-x.^2-y.^2);
a = gradient(z);
figure; surf(x,y,z,'AlphaData',a,'FaceAlpha','flat','FaceColor','blue');
figure; surf(x,y,z)
채택된 답변
추가 답변 (1개)
Indrajit Wadgaonkar
2021년 8월 10일
편집: Indrajit Wadgaonkar
2021년 8월 10일
0 개 추천
Did this issue get resolved? What is the solution if I need transparency as well as smooth lines?
카테고리
도움말 센터 및 File Exchange에서 Spline Postprocessing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!