plotting data within cell array
Ältere Kommentare anzeigen
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 Kommentare
Ameer Hamza
am 28 Mai 2018
If you can share a sample of your dataset, it would be easy to suggest a solution.
Paolo
am 28 Mai 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
am 28 Mai 2018
Paolo
am 28 Mai 2018
Right, so 54 distinct graphs each of which contains 16 entries?
car
am 28 Mai 2018
Ameer Hamza
am 28 Mai 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
am 28 Mai 2018
Antworten (0)
Kategorien
Mehr zu Scatter Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


