Export a figure with subplots keeping the background color of the subplots
5 views (last 30 days)
Show older comments
Hi
I have the following problem: I make figures with subplots where the subplots have a non-white background color. However when I want to export these figures to eps the background of the subplots becomes white. I know that the command set(gcf, 'InvertHardCopy', 'off'); exists. However this only preserves the color (grey) of the area surrounding the subplots but not actually the background of the subplots. Does anyone have an idea how to solve this problem?
Cheers, Ronny
0 Comments
Answers (1)
Jan
on 21 Mar 2017
7 Comments
Dino Dvorak
on 30 Nov 2021
Edited: Dino Dvorak
on 30 Nov 2021
Older post but anyway - in Export Setup - Rendering - uncheck the box Custom color (default setting: w)
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!