How to use a default color in a graph?

3 ビュー (過去 30 日間)
Joel Schelander
Joel Schelander 2021 年 4 月 29 日
回答済み: Chunru 2021 年 4 月 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 Center および File Exchange2-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