How to use a default color in a graph?

1 Ansicht (letzte 30 Tage)
Joel Schelander
Joel Schelander am 29 Apr. 2021
Beantwortet: Chunru am 30 Apr. 2021
Previous figures in my report has the default color (RGB triplets and Hexadecimal color code)
[0 0.4470 0.7410] '#0072BD'
My question is how I can use this colot in my next figure. What should I type instead of 'color'?
histogram(X, 'color')

Akzeptierte Antwort

Chunru
Chunru am 30 Apr. 2021
histogram(X, 'FaceColor', [0 0.4470 0.7410]);

Weitere Antworten (0)

Kategorien

Mehr zu Data Exploration finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by