> I would like to have no ticks on a scale that represents a factor. The
> tick.number argument from scales does not work in such a situation, as
> the help page as well as this simple (fairly stupid) code show:
> 
> require(lattice)
> fact<-gl(4,1,labels=LETTERS[1:4])
> y<-c(1,4,3,2)
> xyplot(y~fact,scales=list(x=list(tick.number=0)))
> 
> I want to leave out the ticks at the x-axis (removing labels is easy,
> of course). What can I do with that?

Replacing tick.number with tck will do the trick.

Regards,
Richie.

Mathematical Sciences Unit
HSL



------------------------------------------------------------------------
ATTENTION:

This message contains privileged and confidential inform...{{dropped:20}}

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to