[R] title second y-axis in lattice plot

Deepayan Sarkar deepayan.sarkar at gmail.com
Tue Nov 25 19:08:38 CET 2008


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



More information about the R-help mailing list