On 9/7/05, Paul Murrell <[EMAIL PROTECTED]> wrote: > Hi > > > Deepayan Sarkar wrote: > > On 9/7/05, Tim Churches <[EMAIL PROTECTED]> wrote: > > > >> Version 2.1.1 Platforms: all > >> > >> What is the trellis parameter (or is there a trellis parameter) to > >> set the leading (the gap between lines) when long axis values > >> labels or panel header labels wrap over more than one line? By > >> default, there is a huge gap between lines, and much looking and > >> experimentation has not revealed to me a suitable parameter to > >> adjust this. > >> > > > > > > There is none. Whatever grid.text does happens. > > > grid does have a "lineheight" graphical parameter. For example, > > library(grid) > grid.text("line one\nlinetwo", > x=rep(1:3/4, each=3), > y=rep(1:3/4, 3), > gp=gpar(lineheight=1:9/2)) > > Could you add this in relevant places in trellis.par Deepayan?
I will (don't know how soon). The description in ?gpar is not very informative though: lineheight The height of a line as a multiple of the size of text (or maybe it's a standard term in typography that I'm not familiar with). Deepayan ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html