What is the RGB code of tytle stile color in matlab .mlx file?

1 visualización (últimos 30 días)
Giuseppe
Giuseppe el 23 de Mzo. de 2021
Comentada: DGM el 25 de Mzo. de 2021
I want to reproduce this color in my LaTex document, where I've copied my matlab script and I need the RGB code of this sort of orange:

Respuesta aceptada

DGM
DGM el 24 de Mzo. de 2021
Editada: DGM el 24 de Mzo. de 2021
I'm not sure if you're asking for a programmatic way of extracting the color or if you just want the color tuple itself.
Assuming you just want the color tuple, it appears to be:
  • 0xD55000 <-- if you want it in hex
  • [213 80 0] <-- if you want it in uint8
  • [0.83529 0.31373 0] <-- if you want it as a normalized float
I don't have a copy of the document, so I can't be any more certain than that.
EDIT: looking around at some other .mlx files on the FEX, this does appear to be the correct color tuple.
  2 comentarios
Giuseppe
Giuseppe el 25 de Mzo. de 2021
Don't worry, I have used the normalized triplet and it works!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Graphics Object Properties en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by