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 visualizaciones (últimos 30 días)
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)

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 27 de Jun. de 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.

Más respuestas (0)

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Productos


Versión

R14SP2

Community Treasure Hunt

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

Start Hunting!

Translated by