plotting data within cell array
Show older comments
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 Comments
Ameer Hamza
on 28 May 2018
If you can share a sample of your dataset, it would be easy to suggest a solution.
Paolo
on 28 May 2018
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
on 28 May 2018
Paolo
on 28 May 2018
Right, so 54 distinct graphs each of which contains 16 entries?
car
on 28 May 2018
Ameer Hamza
on 28 May 2018
@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
on 28 May 2018
Answers (0)
Categories
Find more on Scatter Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

