Why am I unable to set the transperency level of a surface by specifying the "EdgeAlpha" property value in MATLAB 7.0.4 (R14SP2)?

1 Ansicht (letzte 30 Tage)
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)

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 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.

Weitere Antworten (0)

Produkte


Version

R14SP2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by