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!