Definitely could not change the color for this case?
2 次查看(过去 30 天)
显示 更早的评论
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
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.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Categorical Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!