Figure does not retain its transparency after saving it as .png
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
Jan
2021-7-20
Try export_fig or catching the screen by getframe and define the 'TransparentColor' as the background color.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!