フィルターのクリア

how to generate a scatterplot matrix

2 ビュー (過去 30 日間)
chengwei zhang
chengwei zhang 2020 年 1 月 29 日
回答済み: Star Strider 2020 年 1 月 29 日
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

採用された回答

Star Strider
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 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by