Graphs and tables using GUI
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I want to create a GUI for ploting a histogram and a plot simultaneously..but i am not able to make it in a single GUI..also i want to add two tables in it..but i want to change the output of the table according to data i add everytime. I have made the histogram but rest of it is missing
2 Commenti
Geoff Hayes
il 13 Giu 2019
Pratishtha - please clarify what you mean by but i am not able to make it in a single GUI. You may want to show some of your code so that we can get an idea of what you have attempted. Also, how do you add the (new) data that you want to show in the table?
Risposte (1)
Geoff Hayes
il 14 Giu 2019
Pratishtha - your code is
U = uitable('Data', net_a_b_error);
set(handles.uitable2,'Data',num2cell (U(:)))
Why are you creating a new uitable when you already have one in your GUI? And so the second line of code tries to set the uitable with a uitable (?). I think that you want to do something more like
net_a_b_error = [m ERR_A ERR_B];
set(handles.uitable2,'Data',num2cell(net_a_b_error))
and (later)
set(handles.table1, 'Data', T)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!