Why am I unable to set the transperency level of a surface by specifying the "EdgeAlpha" property value in MATLAB 7.0.4 (R14SP2)?
    5 次查看(过去 30 天)
  
       显示 更早的评论
    
I am trying to render a transparent surface by setting the "EdgeAlpha" property value of the surface between 0 and 1. However, I am unable to do so. The surface becomes opaque for all values of 'EdgeAlpha' between 0 and 1. The reproduction steps for the problem are as follows:
[x,y,z] = sphere(20)
h=surf(x,y,z,zeros(size(x)),'facealpha',.2,'edgealpha',0)
set(h,'EdgeAlpha', .1)
采纳的回答
  MathWorks Support Team
    
 2009-6-27
        This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
There is a bug in MATLAB 7.0.4(R14SP2) in the way the transparency level is set through the "EdgeAlpha" property of the surface.
There are no workarounds.
0 个评论
更多回答(0 个)
另请参阅
类别
				在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
