[R] Coloring axis labels on Lattice xyplot.

Andrew Liu Andrew.T.Liu at williams.edu
Thu Jul 1 01:38:43 CEST 2010


Hello,

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