Azzera filtri
Azzera filtri

is it possible to change color of figure ?

57 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Fangjun Jiang
Fangjun Jiang il 16 Ott 2019
a=figure;
a.Color='blue';
b=axes;
b.Color='red';

Più risposte (0)

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by