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.

Respuestas (1)

Walter Roberson
Walter Roberson el 13 de Mzo. de 2021

0 votos

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.

Preguntada:

el 13 de Mzo. de 2021

Comentada:

el 13 de Mzo. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by