How do you create a scatter plot using select columns from app.UITable.Data?
6 次查看(过去 30 天)
显示 更早的评论
I have a Table where the rows get added and updated. I would like to be able to create a scatter plot of the table. Any thoughts?
2 个评论
Walter Roberson
2022-6-23
Should the plotting be based upon variable (column) number, or should it be based upon column name? Are the column names or number to plot always the same or is there input indicating which ones to select?
回答(1 个)
Walter Roberson
2022-6-23
scatter(TableName{:,2}, TableName{:,4})
3 个评论
Walter Roberson
2022-6-23
Why are you storing text for your uitable entries? Why are you not storing numeric values?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Scatter Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!