plotting data within cell array
显示 更早的评论
I have a cell array as 1x54 cell (A level). Within each cell is another cell array, anywhere from 1x8 to 1x16 (B level). Within each of these cells is a column with 1 to 12 entries (C level). I want to plot (as a scatter plot) the C level entries against other C level entries from each B level entry, preferably with a different colour for each group of C level entries.
I hope that makes sense.
Thanks!
7 个评论
Ameer Hamza
2018-5-28
If you can share a sample of your dataset, it would be easy to suggest a solution.
Paolo
2018-5-28
When you say you want to plot every C level entry for every B level entry, do you mean you want 864 graphs? Since you have 54 cells in level A, and for each cell in level A you have 16 cells.
car
2018-5-28
Paolo
2018-5-28
Right, so 54 distinct graphs each of which contains 16 entries?
car
2018-5-28
Ameer Hamza
2018-5-28
@Carling, a scatter plot needs x and y values. Whereas your data contain only one column. How do you want to address this issue.
car
2018-5-28
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Scatter Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


