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

liuzzz6 liuzzz6 at gmail.com
Tue Aug 16 05:57:41 CEST 2011


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 effect on the result plot. 
Is there any way to change the color of axis line? 
Thanks in advance.

Regards,
Black 

--
View this message in context: http://r.789695.n4.nabble.com/How-to-change-axis-line-color-in-xyplot-tp3746288p3746288.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list