How to make bar graph inside table
7 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Walter Roberson
on 13 Mar 2021
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.
See Also
Categories
Find more on MATLAB Report Generator in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!