scales argument in lattice plots 2005-02-18 - By Deepayan Sarkar
On Friday 18 February 2005 18:03, David Parkhurst wrote: > I'm using R 2.0.1 under windows XP. I'd like to produce an xyplot > with lattice, in which the x axis shows normally (with tics and > numbers), but there are neither tics nor numbers for y. (I'm using > layout=c(1,10), and ylab="".) > > From the html help for xyplot, it appears I need to use the scales > argument, but I don't fully understand the description there, about > how to treat the x and y axes differently.
You need
scales = list(y = list(draw = FALSE))
-Deepayan
______________________________________________ R-help@(protected) mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
|
|