Clear Filters
Clear Filters

How to use a default color in a graph?

1 view (last 30 days)
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')

Accepted Answer

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

More Answers (0)

Categories

Find more on Data Exploration in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!