Graph with raw data points for four groups in three treatments

1 回表示 (過去 30 日間)
Sonia Wiemann
Sonia Wiemann 2025 年 3 月 12 日
回答済み: Star Strider 2025 年 3 月 12 日

I need matlab code to make a graph that displays my raw data points not just the averages. There are four groups ( A, B C and D) and each group has three treatments (high, middle, and low). I need the data for each group to be overlayed for each treatment but have the data with different colors or shapes so A is distinguishable from B etc. high middle and low need to be the x axis and the y axis is numerical (0-140). Thanks in advance for any help!

回答 (1 件)

Star Strider
Star Strider 2025 年 3 月 12 日
Your best option may be the swarmchart function. There are related versions (inicluding one in the Statistics and Machine Learning Toolbox) that may offer additional optiions.

カテゴリ

Help Center および File ExchangeNetworks についてさらに検索

タグ

製品


リリース

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by