How to use a default color in a graph?

2 次查看(过去 30 天)
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')

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by