How to colour plot grey

47 views (last 30 days)
Prince Igweze
Prince Igweze on 12 Dec 2019
Answered: Fangjun Jiang on 12 Dec 2019
How can i make each of the three plots grey in colour.
Thanks
figure(1)
plot(Dmq1)
hold on
plot(Dmq)
hold on
plot(Dm)
hold on
  2 Comments
Fangjun Jiang
Fangjun Jiang on 12 Dec 2019
figure background, axis or line?

Sign in to comment.

Answers (1)

Fangjun Jiang
Fangjun Jiang on 12 Dec 2019
f=figure;
f.Color=[0.5, 0.5, 0.5]; %adjust the RGB for your shade of gray

Tags

Community Treasure Hunt

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

Start Hunting!