[R] lattice: how to center a title?

2011-01-04 Thread Marius Hofert
Dear expeRts, As you can see from this example... trellis.device(pdf, width = 5, height = 5) print(xyplot(0 ~ 0, main = This title is not 'centered' for the human's eye, scales = list(alternating = c(1,1), tck = c(1,0 dev.off() ... the title does not seem to be centered for the human's

Re: [R] lattice: how to center a title?

2011-01-04 Thread Dieter Menne
mhofert wrote: trellis.device(pdf, width = 5, height = 5) print(xyplot(0 ~ 0, main = This title is not 'centered' for the human's eye, scales = list(alternating = c(1,1), tck = c(1,0 dev.off() ... the title does not seem to be centered for the human's eye [although it is centered

Re: [R] lattice: how to center a title?

2011-01-04 Thread mhofert
Dear Dieter, many thanks, exactly what I was looking for. Cheers, Marius -- View this message in context: http://r.789695.n4.nabble.com/lattice-how-to-center-a-title-tp3173271p3173931.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] lattice: how to center a title?

2011-01-04 Thread Deepayan Sarkar
On Tue, Jan 4, 2011 at 9:32 PM, Dieter Menne dieter.me...@menne-biomed.de wrote: mhofert wrote: trellis.device(pdf, width = 5, height = 5)   print(xyplot(0 ~ 0, main = This title is not 'centered' for the human's eye, scales = list(alternating = c(1,1), tck = c(1,0 dev.off() ... the

Re: [R] lattice: how to center a title?

2011-01-04 Thread Marius Hofert
Very nice, thanks a lot. Cheers, Marius __ R-help@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,