Transparency causes nonsmooth lines
Mostrar comentarios más antiguos
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)
2 comentarios
KALYAN ACHARJYA
el 26 de Jul. de 2018
What is your question?
bai da
el 26 de Jul. de 2018
Respuesta aceptada
Más respuestas (1)
Indrajit Wadgaonkar
el 10 de Ag. de 2021
Editada: Indrajit Wadgaonkar
el 10 de Ag. de 2021
0 votos
Did this issue get resolved? What is the solution if I need transparency as well as smooth lines?
Categorías
Más información sobre Spline Postprocessing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!