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
Ameer Hamza 2018 年 5 月 28 日
If you can share a sample of your dataset, it would be easy to suggest a solution.
Paolo
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
car 2018 年 5 月 28 日
So each of the A level entries is a city, and I want one graph per city. I'll get a sample of the data up in a bit.
Paolo
Paolo 2018 年 5 月 28 日
Right, so 54 distinct graphs each of which contains 16 entries?
car
car 2018 年 5 月 28 日
<<
>>
Hope this is good enough to give an idea of what my data looks like
Ameer Hamza
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
car 2018 年 5 月 28 日
hmm... i'm going to have to rethink this a bit. I'll update when i have a new plan of action

サインインしてコメントする。

回答 (0 件)

カテゴリ

質問済み:

car
2018 年 5 月 28 日

コメント済み:

car
2018 年 5 月 28 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by