Re: [R] Lattice: place ticks only on y-axis

2011-07-23 Thread marcel
Working! Many thanks, good solutions -- View this message in context: http://r.789695.n4.nabble.com/Lattice-place-ticks-only-on-y-axis-tp3684094p3688167.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list

Re: [R] Lattice: place ticks only on y-axis

2011-07-22 Thread Peter Ehlers
On 2011-07-22 07:42, Bert Gunter wrote: See the "alternating" parameter in the "scales" parameter list of ?xyplot. Presumably, something like: xyplot( ..., scales = list(..., alternating = 1),... ) I would just use tck=c(1,0): xyplot(..., scales = list(tck = c(1,0), x = list(draw = F

Re: [R] Lattice: place ticks only on y-axis

2011-07-22 Thread Bert Gunter
See the "alternating" parameter in the "scales" parameter list of ?xyplot. Presumably, something like: xyplot( ..., scales = list(..., alternating = 1),... ) is what you want. -- Bert On Fri, Jul 22, 2011 at 6:07 AM, marcel wrote: > I notice that with this solution there are still y-axis tick

Re: [R] Lattice: place ticks only on y-axis

2011-07-22 Thread marcel
I notice that with this solution there are still y-axis tick marks on both sides of the plot. Is there a way to remove the ones on the right side? -- View this message in context: http://r.789695.n4.nabble.com/Lattice-place-ticks-only-on-y-axis-tp3684094p3686638.html Sent from the R help mailing

Re: [R] Lattice: place ticks only on y-axis

2011-07-21 Thread marcel
Works perfectly, thank you. -- View this message in context: http://r.789695.n4.nabble.com/Lattice-place-ticks-only-on-y-axis-tp3684094p3685625.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://s

Re: [R] Lattice: place ticks only on y-axis

2011-07-21 Thread Peter Ehlers
On 2011-07-21 08:56, marcel wrote: I am using lattice for a bar plot, having a little trouble removing ticks, tick labels from x-axis, but keeping them on the y-axis. I looked around quite a bit (http://tolstoy.newcastle.edu.au/R/e7/help/09/06/1733.html, help pages, etc), tried variations of "sca

[R] Lattice: place ticks only on y-axis

2011-07-21 Thread marcel
I am using lattice for a bar plot, having a little trouble removing ticks, tick labels from x-axis, but keeping them on the y-axis. I looked around quite a bit (http://tolstoy.newcastle.edu.au/R/e7/help/09/06/1733.html, help pages, etc), tried variations of "scales = list(alternating = c(0,0)", "sc