Re: [R] tick marks in opposite axis xyplot

From: Deepayan Sarkar <deepayan_at_stat.wisc.edu>
Date: Thu 02 Jun 2005 - 04:57:43 EST

On Wednesday 01 June 2005 13:04, Sebastian Luque wrote:
> Hello,
>
> I cannot find how to avoid drawing tick marks on the opposite side of axes
> in xyplot (lattice package). Say you have a simple plot:
>
> x <- y <- rnorm(10)
> xyplot(y ~ x)
>
> There are tick marks on the top and right axes. Is it possible to turn off
> drawing of those tick marks, or even turn off drawing of those axes
> completely? Thanks in advance.

xyplot(y ~ x, scales = list(tck = c(1, 0)))

Deepayan



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jun 02 04:55:15 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:20 EST