Effacer les filtres
Effacer les filtres

Figure does not retain its transparency after saving it as .png

6 vues (au cours des 30 derniers jours)
Kevin Akash Rajasekaran
Kevin Akash Rajasekaran le 19 Juil 2021
Hey all! I have plotted a graph where I've made the background transparent. Now while saving the graph as a .png file, the transparency is not retained and shows as white instead. Is there a way to save the graph while retaining its transparency? Thanks in advance!
  4 commentaires
Jan
Jan le 20 Juil 2021
Try export_fig or catching the screen by getframe and define the 'TransparentColor' as the background color.
Kevin Akash Rajasekaran
Kevin Akash Rajasekaran le 20 Juil 2021
Thanks! I managed to get a transparent image by going to Edit -----> Copy figure.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Specifying Target for Graphics Output dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by