Clear Filters
Clear Filters

How to add a table on a figure ?

4 views (last 30 days)
jacques baptiste
jacques baptiste on 25 May 2018
Answered: Ameer Hamza on 25 May 2018
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

Answers (1)

Ameer Hamza
Ameer Hamza on 25 May 2018
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'});

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!