Function surf3c is similar to surf3 but its transparency is determined by another data.
MGL code:
call 'prepare3d' title 'Surf3A plot':rotate 50 60:light on:alpha on:box:surf3a c d
C++ code:
void smgl_surf3a(mglGraph *gr) { mglData c,d; mgls_prepare3d(&c,&d); if(big!=3) gr->Title("Surf3A plot"); gr->Rotate(50,60); gr->Light(true); gr->Alpha(true); gr->Box(); gr->Surf3A(c,d); }