How can I create a scatterplot matrix?
2 ビュー (過去 30 日間)
古いコメントを表示
Good evening,
can anyone tell me how to do a scatterplot matrix out of these 4 variables and insert also the groups in different colors??
0 件のコメント
回答 (1 件)
the cyclist
2020 年 8 月 29 日
Here is one way:
T = readtable('Stress_Reactivity.xlsx');
figure
gscatter(T.cort_3,T.diastolic_3,T.condition)
I didn't know exactly what you meant by "scatterplot matrix out of these 4 variables", so I just did two variables. I assumed the binary variable condition was how you wanted to group them.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Scatter Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!