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 views (last 30 days)
Show older comments
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)
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
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 Comments
More Answers (0)
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!