How to plot a table as a figure in matlab?
3 次查看(过去 30 天)
显示 更早的评论
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})
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!