[R] How to change axis line color in xyplot()

2011-08-15 Thread liuzzz6
Hi all, I tried and searched a lot to find a way of changing color of axis line in applying xyplot() function. Take following code as example: library(lattice) par(col='white') par(col.axis='white') par(col.lab='white') z = data.frame(x = 1:5) xyplot(x~x, z) The par(col.axis='white') has no ef

Re: [R] How to change axis line color in xyplot function?

2011-08-15 Thread liuzzz6
By searching, i finally found the resolution. We could set "par.settings = list( axis.line = list(col ='white') )" in xyplot function, then the axis border lines will be white. Thanks anyway. Regards, Black -- View this message in context: http://r.789695.n4.nabble.com/How-to-change-axis-line-c