[R] Lattice: place ticks only on y-axis
ehlers at ucalgary.ca
Fri Jul 22 17:55:54 CEST 2011
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):
scales = list(tck = c(1,0), x = list(draw = FALSE)), ...)
> is what you want.
> -- Bert
> On Fri, Jul 22, 2011 at 6:07 AM, marcel<marcelcurlin at gmail.com> wrote:
>> 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 list archive at Nabble.com.
>> R-help at r-project.org mailing list
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help