MATLAB Answers

How to change the background of a saved figure

3 views (last 30 days)
Fabian Gock
Fabian Gock on 28 Aug 2017
Commented: KALYAN ACHARJYA on 28 Aug 2017
i want to print some graphs, I created and saved to .fig files.
I tried to change the background color via the Export Setup. This works fine as long as the figure just has been created and not been opened from a previously saved .fig file.
set(gcf,'color','white') does also not change anything.
The figure contains two seperate plots. I tried to change their background color seperately, but then I got a grey line in between.
I attached an example file so you can hopefully reproduce my problem and help me out.
Thanks in advance -Fabian


KALYAN ACHARJYA on 28 Aug 2017

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by