如何制作柱状图在表吗

3 views (last 30 days)
Ricardo Cachu
Ricardo Cachu on 13 Mar 2021
Commented: Ricardo Cachuon 13 Mar 2021
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.

Answers (1)

Walter Roberson
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 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() //www.tatmou.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 Comment
Ricardo Cachu
Ricardo Cachu on 13 Mar 2021
just kidding my friend

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!