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!


