||
对角线上为直方图的散点图矩阵,上三角为相关系数,下三角为散点图
Scatter plot matrix with histogram in diagonal line, correlation coefficients in upper triangular, and scatter plots in the lower triangular
代码示例:
load carsmall
scatterPlotMatrix([Acceleration,Cylinders,Displacement,Horsepower,Model_Year,Weight,MPG], {'Acceleration','Cylinders','Displacement','Horsepower','ModelYear','Weight','MPG'})
完整源码下载地址:
http://page3.dfpan.com/fs/6l0cfj02c2214249166/
更多精彩文章请关注微信号:
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-4-20 12:08
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社