How to use a default color in a graph?

3 visualizaciones (últimos 30 días)
Joel Schelander
Joel Schelander el 29 de Abr. de 2021
Respondida: Chunru el 30 de Abr. de 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')

Respuesta aceptada

Chunru
Chunru el 30 de Abr. de 2021
histogram(X, 'FaceColor', [0 0.4470 0.7410]);

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by