How can I create a scatterplot matrix?
조회 수: 4 (최근 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!