Definitely could not change the color for this case?

조회 수: 1 (최근 30일)
César Hernández
César Hernández 2019년 11월 21일
댓글: César Hernández 2019년 11월 22일
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
Jan
Jan 2019년 11월 22일
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 2019년 11월 22일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by