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 view (last 30 days)
Show older comments
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?
Answers (1)
See Also
Categories
Find more on Subplots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!