Why does my exported figure in MATLAB 6.5 (R13) not retain the transparent background?
For example:
figure('Color', 'r'); plot(1:3)set(gcf,'Color', 'none')set(gcf,'InvertHardCopy','off')print -djpeg xxx.jpg
xxx.jpg gets created with a gray background color. I can see it clearly, if, for example, I create a blue rectangle in a PowerPoint slide and insert my xxx.jpg picture on top.
The same situation is with exporting to TIFF format.
Best Answer