I am running Octave 3.4.0 and want to create a transparent surface area. However, I could not do this when I was messing around with facealpha , edgealpha , alphadata and alphadatamapping .
Sample code for creating an opaque surface:
p = peaks(40); f1 = figure(10);clf s1 = surface(p) view(3) xlabel('x');ylabel('y'); hold on;plot3([0 40],[40 0],[-10 10],'k') set(s1,'edgecolor','none') set(s1,'facealpha',0.2)
The result is shown in the image below. As you can see, the line drawn diagnostically at the beginning is hidden behind the surface, although the surface is supposed to be translucent. Is this a bug in my version of Octave, or am I missing something?

Vidar source share