MATLAB: Plotting Data from a matlab gui Table

MATLABmatlab functionmatlab guiplotplottingtableuitable

How can i plot two columns of a table in matlab gui together in an axes ?

Best Answer

Moustafa - if we assume that there are only two columns in your table, then you could do something like
tableData = get(tableH,'Data');
plot(axesH, tableData(:,1), tableData(:,2));
In the above, I'm assuming that tableH is the handle to your table and that axesH is the handle to the axes. (And that tableData is not a cell array.)