How to make bar graph inside table

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.

回答 (1 件)

Walter Roberson
Walter Roberson 2021 年 3 月 13 日

0 投票

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.

1 件のコメント

Ricardo Cachu
Ricardo Cachu 2021 年 3 月 13 日
just kidding my friend

サインインしてコメントする。

質問済み:

2021 年 3 月 13 日

コメント済み:

2021 年 3 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by