<xgao <at> genome.wustl.edu> writes: > > I created a 3d scatter plot and am trying to change the color of outer box > lines with box3d. > > Anybody can help me to figure out how to do this? > > My example is: > > library(scatterplot3d) > x=seq(1:6) > y=seq(7:12) > z=x*2 > scatterplot3d(x, y,z)
This is not going to be possible in the narrow sense: box3d is from the rgl package, which uses a completely different graphics device/protocol. You can combine plot3d with box3d (or rgl.bbox) By the way, seq(7:12) probably doesn't do what you think it does! ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.