using swarm plot with different colors for categories
5 views (last 30 days)
Show older comments
Hello,
I have a table with three columns:
Celltype Age HoleVolume
________ ________ __________
"TH" "8-12w" 31813
"LXL" "18-21d" 30740
"LXL" "8-12w" 24594
"LXL" "12m" 18981
"LXL" "8-12w" 16863
"LXL" "12m" 15584
"LXL" "8-12w" 13282
"LXL" "8-12w" 13156
now, I want to generate something like a swarm plot, where the grouping is according to "celltype" but the colors are based on "age".
I was trying to do that using the plotSpread function, but it doesn't seem to recognize more then one category...
Is there a simple way to do this? (consider that "Age" and "CellType" are categorical, and that "Age" contains 6 categories).
Thanks a lot!
Sapir.
0 Comments
Answers (0)
See Also
Categories
Find more on Particle Swarm 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!