Azzera filtri
Azzera filtri

function 'getframe' can't capture figures with transparent objects?

2 visualizzazioni (ultimi 30 giorni)
I used trisurf to draw a 3-D polyhedron and wanted to record the figures when rotating it, saving as a *.gif file.
However, once I added 'facealpha' value to trisurf function, like
trisurf(k,x,y,z,'facealpha',.8);
then the getframe(gcf) can't record the frame when rotating, but just the first frame when record began. Once the facealpha was removed, everything went well.
So how should I record a GIF with transparent object?

Risposte (0)

Categorie

Scopri di più su Animation in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by