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!