MATLAB Answers

is it possible to change color of figure ?

139 views (last 30 days)
Ill ch
Ill ch on 16 Oct 2019
Commented: Ill ch on 16 Oct 2019
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

  0 Comments

Sign in to comment.

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 16 Oct 2019
a=figure;
a.Color='blue';
b=axes;
b.Color='red';

More Answers (0)

Tags

Products