Effacer les filtres
Effacer les filtres

is it possible to change color of figure ?

57 vues (au cours des 30 derniers jours)
Ill ch
Ill ch le 16 Oct 2019
Commenté : Ill ch le 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

Réponse acceptée

Fangjun Jiang
Fangjun Jiang le 16 Oct 2019
a=figure;
a.Color='blue';
b=axes;
b.Color='red';
  1 commentaire
Ill ch
Ill ch le 16 Oct 2019
Thank you so much

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by