is it possible to change color of figure ?

59 Ansichten (letzte 30 Tage)
Ill ch
Ill ch am 16 Okt. 2019
Kommentiert: Ill ch am 16 Okt. 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

Akzeptierte Antwort

Fangjun Jiang
Fangjun Jiang am 16 Okt. 2019
a=figure;
a.Color='blue';
b=axes;
b.Color='red';

Weitere Antworten (0)

Kategorien

Mehr zu Line Plots finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by