how to generate a scatterplot matrix
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi,
I am looking for a way to create a scatterplot matrix for visualization from a csv file but it has too many columus. So i do not know how to start and finish. please help.
thanks in advance
댓글 수: 0
채택된 답변
Star Strider
2020년 1월 29일
One option:
D = readtable('diabetes.csv');
VN = D.Properties.VariableNames;
Dmtx = table2array(D);
figure
semilogy((1:size(Dmtx,1)), Dmtx, '.')
grid
xlabel('Row #')
legend(VN)
That will plot all the variables as a function only of the row in ‘Dmtx’.
Choose what to plot (and what to use as independent or dependent variables) as necessary to depict the required trends. Choose those either as columns of ‘Dmtx’ or as variables in ‘D’.
댓글 수: 0
추가 답변 (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!