[R] lattice custom axis function -- right side margins
Timothy W. Hilton
hilton at meteo.psu.edu
Fri Mar 4 01:19:53 CET 2011
To clarify the trouble I'm having with ylab.right, I am not getting an
error message; the right-side label just does not appear on the plot.
-Tim
> On Thu, Mar 3, 2011 at 1:50 PM, Timothy W. Hilton <hilton at meteo.psu.edu>wrote:
>
> > Many thanks, Richard -- the position argument does exactly what I
> > needed. I'm not having any luck with the ylab.right argument. My R and
> > lattice are up to date (below); is there something else I should check?
> >
> > Thanks for the help,
> > Tim
> >
> > > sessionInfo()
> > R version 2.12.2 (2011-02-25)
> > Platform: i386-apple-darwin9.8.0/i386 (32-bit)
> >
> > locale:
> > [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8
> >
> > attached base packages:
> > [1] stats graphics grDevices utils datasets methods base
> >
> > other attached packages:
> > [1] lattice_0.19-17
> >
> > loaded via a namespace (and not attached):
> > [1] grid_2.12.2 tools_2.12.2
> >
> > On Thu, Mar 2011, 03 at 01:05:49PM -0500, Richard M. Heiberger wrote:
> > > print(my_plot(example_data, ylab.right=expression(e==mc^2)),
> > > position=c(0,0,.95,1))
> > >
> > > You will need a recent R version for the ylab.right argument.
> > >
> > > On Thu, Mar 3, 2011 at 12:52 PM, Timothy W. Hilton <hilton at meteo.psu.edu
> > >wrote:
> > >
> > > > Dear R help list,
> > > >
> >
More information about the R-help
mailing list