plot一个data.frame默认就是pairs(),自己修改panel参数即可
dat=read.table(con<-textConnection('att1 att2 att3 att4 att5<br />
1 -5 6 3 -3 5<br />
2 -3 6 2 -4 1<br />
3 -4 5 2 -3 3<br />
4 -6 6 1 -5 2<br />
5 -4 3 1 -5 3<br />
6 -9 1 1 -7 1<br />
7 -8 1 0 -7 1<br />
8 -9 0 5 -4 5<br />
9 -9 5 1 -2 5'),TRUE,row.names=1)<br />
close(con)<br />
pairs(dat,panel=function(x,y)points(x,y,type='l'))