MATLAB Answers

How to colour plot grey

502 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

  0 Comments

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!