[R] Coloring axis labels on lattice xyplot

Andrew Liu Andrew.T.Liu at williams.edu
Thu Jul 1 22:29:22 CEST 2010


Hello,

First let me apologize for replying/changing subject when I initially 
asked this question. Its my first time using a mailing list of any sort!

I am trying to color particular labels on my lattice xyplot.

For example:

library(lattice)
z = data.frame(x = 1:5)
xyplot(x~x, z)

Is there any way for me to make the "4" on the y-axis blue?

Thanks,
Andy



More information about the R-help mailing list