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

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

On 11/25/08, robbie.heremans_at_telenet.be <robbie.heremans_at_telenet.be> 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 http://lmdvr.r-forge.r-project.org/figures/figures.html), 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 'xlab.top', but this has not happened yet.

-Deepayan



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. 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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive