is it possible to change color of figure ?

72 次查看(过去 30 天)
Dear Matlab figure expert,
I am trying to change the figure color with
fig.color='blue' % i want to change its background color
I am getting result like this
Unbenannt.PNG
however i want to change in this form as i did it manually:
template_b.jpg
Can anybody guide me?
Thank you

采纳的回答

Fangjun Jiang
Fangjun Jiang 2019-10-16
a=figure;
a.Color='blue';
b=axes;
b.Color='red';

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by