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

2008-11-25 Thread Robbie Heremans
Thanks Deepayan, The following code solves the problem until 'ylab.right' will be implemented. Robbie library(lattice) library(grid) g1<-textGrob("axis title at right", x = unit(0.5, "npc"), y = unit(0.5, "npc"), just = "centre", hjust = NULL, vjust = NULL, rot = 270, check

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

2008-11-25 Thread Deepayan Sarkar
On 11/25/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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

[R] title second y-axis in lattice plot

2008-11-25 Thread robbie . heremans
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 dif