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
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
2 matches
Mail list logo