How to plot a table as a figure in matlab?
显示 更早的评论
I have a set of values to create a table from the array in the workspace. I don't know how to plot the array values as a figure in the table format?
2 个评论
Akira Agata
2017-2-18
Is this what you want to do?
T = array2table([(1:10)' rand(10,1)]); % Sample table
plot(T{:,1},T{:,2})
Walter Roberson
2017-2-18
... or is this to do with uitable() ?
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!