Borrar filtros
Borrar filtros

Definitely could not change the color for this case?

2 visualizaciones (últimos 30 días)
César Hernández
César Hernández el 21 de Nov. de 2019
Comentada: César Hernández el 22 de Nov. de 2019
I can do the code shown below. But, what I want is that the table can also come out of another color; Green or orange ... They say, it definitely can't be done.
Any suggestions or help please.
Thank you.
b={sprintf('<strong>Resultado</strong>')};
b1=1;
b2=2;
b3=3;
b4=4;
b1={sprintf('<strong>%d</strong>',b1)};
b2={sprintf('<strong>%d</strong>',b2)};
b3={sprintf('<strong>%d</strong>',b3)};
b4={sprintf('<strong>%d</strong>',b4)};
d={'a','b','c','d','e'};
T=table(categorical(b),categorical(b1),categorical(b2),categorical(b3),categorical(b4),'variablenames',d);
disp(T);
  5 comentarios
Jan
Jan el 22 de Nov. de 2019
The command window is not the best choice for displaying colors or smart format tricks. For a powerful interaction with the user create a GUI.
César Hernández
César Hernández el 22 de Nov. de 2019
About GUI or GUIDATA, I definitely don't know almost anything. Perhaps else, go ahead.
My most sincere success wishes to you ....
Go well to you. And go ahead with queries, questions, comments and answers !!!
God bless you.
Thanks a lot anyway.
Greetings.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Categorical Arrays en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by