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

Bert Gunter gunter.berton at gene.com
Fri Jul 22 16:42:43 CEST 2011


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 <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
> 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.
>



-- 
"Men by nature long to get on to the ultimate truths, and will often
be impatient with elementary studies or fight shy of them. If it were
possible to reach the ultimate truths without the elementary studies
usually prefixed to them, these would not be preparatory studies but
superfluous diversions."

-- Maimonides (1135-1204)

Bert Gunter
Genentech Nonclinical Biostatistics



More information about the R-help mailing list