Yes, you are right. I meant panels, xyplot generates 22 panels, which one with y-axis, x-axis and a title. I need to change the font size of title in the panels.
Ed On May 10, 2014, at 8:04 PM, David Winsemius <dwinsem...@comcast.net> wrote: > > On May 10, 2014, at 3:30 PM, Eduardo M. A. M. Mendes wrote: > >> Hello >> >> Many thanks. >> >> par.main.text is the main title (on top of all plots). I need to change the >> each of the titles in the, say, subplots. >> > > One gets the response the fills ones needs when those needs are clearly > expressed and an example provide that illustrates the problem. There being no > "subplot" in lattice, I'm guessing that you mean "panel" for that term, and > the "title" is in fact the strip annotation, but I am finished with throwing > out guesswork solutions until clarity is established. > > -- > David. > >> Ed >> >> >> On May 10, 2014, at 7:05 PM, David Winsemius <dwinsem...@comcast.net> wrote: >> >>> >>> On May 10, 2014, at 2:26 PM, Eduardo M. A. M. Mendes wrote: >>> >>>> Hello >>>> >>>> I am using xyplot (lattice) to plot a xts variable. There are 20 >>>> variables within the xts variable (index by a datetime vector sampled >>>> every 1 minute). The results are very nice and help me to understand what >>>> is going on with the data. However since the names (labels of each >>>> variable) within the xts variable are large, the title of each plot is >>>> cropped. How can I select the font size of the titles without changing >>>> all other fonts? >>>> >>> >>> tp <- trellis.par.get() >>> names(tp) >>> >>> ... includes "par.main.text", so my first try was to use the xyplot() >>> facilities to change cex for 'main'. Seems to work as expected: >>> >>> xyplot( 1~1, main="test", par.settings=list(par.main.text=list(cex=5))) >>> >>> -- >>> >>> David Winsemius >>> Alameda, CA, USA >>> >> > > David Winsemius > Alameda, CA, USA [[alternative HTML version deleted]] ______________________________________________ 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, reproducible code.