How to add a table on a figure ?

4 次查看(过去 30 天)
jacques baptiste
jacques baptiste 2018-5-25
Hello,
I've a table saved like this:
u = uitable(g,'Data',dgain,'RowName',rn,'Position',[60,343,300,90],...
'ColumnName',cn,'ColumnFormat',{'bank','bank'});
How can i plot the table (graphically, not the values into a curve) into a figure ? The table format is really easy to read and is a good recap.
Best regards,
Baptiste

回答(1 个)

Ameer Hamza
Ameer Hamza 2018-5-25
What is the class of dgain? If it is MATLAB table then try this
g = gcf;
u = uitable(g,'Data',table2cell(dgain),'RowName',rn,'Position',[60,343,300,90],...
'ColumnName',cn,'ColumnFormat',{'bank','bank'});

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by