[R] Move the x label to the top of an lattice plot

David Winsemius dwinsemius at comcast.net
Sat Sep 17 03:40:29 CEST 2011

On Sep 16, 2011, at 7:47 PM, markm0705 wrote:

> Dear R helpers
> With some help from R-help I've moved the x-scale to the top of a  
> lattice
> plot using...'alternating'
> 		scales = list(x = list(log = 10),alternating=2),
> but now I cannot seem to find a way to move the x-axis label to the  
> top ?

Maybe you need to read further down the help page? I'm guessing that  
xlab.top does it. Not tested in absence of example.

> Thanks
> --
> View this message in context: http://r.789695.n4.nabble.com/Move-the-x-label-to-the-top-of-an-lattice-plot-tp3819397p3819397.html
> Sent from the R help mailing list archive at Nabble.com.
> ______________________________________________
> 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.

David Winsemius, MD
West Hartford, CT

More information about the R-help mailing list