using swarm plot with different colors for categories

5 visualizaciones (últimos 30 días)
Sapir Havusha-Laufer
Sapir Havusha-Laufer el 21 de Jul. de 2020
Editada: Sapir Havusha-Laufer el 21 de Jul. de 2020
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.

Respuestas (0)

Categorías

Más información sobre Particle Swarm en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by