the only way I managed so far is so print to epsc2, then open in Illustrator to remove the white rectangle which is the figure background, and export to PNG. But surely Matlab can handle this without needing an expensive 3rd party software or without me having to manually edit the eps file.
Transparency in Matlab R2016b
1 次查看(过去 30 天)
显示 更早的评论
I am on R2016b and cannot create PNGs with transparent background. I
- have set figure background color to "transparent" in copy options and tried copy-pasting -> white background
- same after doing set(gca/gcf,'color','none') -> results in a black bg in Matlab and in a white bg when pasted.
- edited figure properties and changed figure color to HSV with 100% transparency -> white background
Is there any way to get transparency in Matlab?
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subplots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!