Re: [R] title second y-axis in lattice plot

From: Deepayan Sarkar <>
Date: Tue, 25 Nov 2008 10:08:38 -0800

On 11/25/08, <> wrote:
> Dear R-users,
> After adding the secondary y-axis at the right side of a lattice xyplot (cfr. Lattice: Multivariate Data Visualization with R - figures 8.4 and 8.6, from, I'm trying to add a title to that second y-axis (which has to be different from the title on the left side).
> Where should I place the "ylab<-" instruction?

The only reliable way right now is to add a legend on the right side. I have plans to implement support for arguments 'ylab.right' and '', but this has not happened yet.

-Deepayan mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Tue 25 Nov 2008 - 18:24:41 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 25 Nov 2008 - 20:30:36 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive