Hi, you can try plot3d library(rgl) plot3d(x=x[,2],y=x[,3],z=rowMeans(x[,2:4])) ----- A R learner. -- View this message in context: http://r.789695.n4.nabble.com/multivariate-graphs-averaging-on-some-vars-tp2292039p2292076.html Sent from the R help mailing list archive at Nabble.com.