[R] scales argument in lattice plots

Deepayan Sarkar deepayan at stat.wisc.edu
Sat Feb 19 01:27:55 CET 2005


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




More information about the R-help mailing list