How to make bar graph inside table
5 次查看(过去 30 天)
显示 更早的评论
Hello, I want to put a bar graph inside a cell or array like excel, in the image you will understand what I mean for. I will use it in report generator. If you could you help me or tell me where I can find more information I really thank you.

0 个评论
回答(1 个)
Walter Roberson
2021-3-13
MATLAB table() objects do not support that in any way.
uitable() objects for traditional figures make this difficult but not necessarily completely impossible, if you fiddle around with HTML2.0 <TABLE> objects long enough. It would be tricky.
I do not know if it is possible with uitable() objects for uifigures() if you were to use uihtml() https://www.mathworks.com/help/matlab/ref/uihtml.html
Sometimes the easiest approach is to bar() and do a lot of text() objects to draw the text in place.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Report Generator 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
