How to use a default color in a graph?

조회 수: 7 (최근 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 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