using swarm plot with different colors for categories

조회 수: 5 (최근 30일)
Sapir Havusha-Laufer
Sapir Havusha-Laufer 2020년 7월 21일
편집: Sapir Havusha-Laufer 2020년 7월 21일
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개)

카테고리

Help CenterFile Exchange에서 Particle Swarm에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by