How to save a plot with colored background?

I use set(gcf,'color','blue'), but in the saved .png the blue background colour is not seen. Why? And how to solve this problem?

Answers (0)

This question is closed.

Asked:

on 12 Feb 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!