[R] Control of vertical spacing in Lattice key text?

Patrick Connolly p.connolly at hortresearch.co.nz
Wed Mar 16 00:18:03 CET 2005


I find the key and legend functions in Lattice very useful.  Trouble
is, now I can see what else I'd like to be able to do with them.

If I put a title on a key, it appears too close to the key itself, and
if there's a line break in the title (which often happens), the
leading between the lines is too much.

What I can do is print to a postscript file, then find the lines in
the postscript file where my text appears and fiddle with the
postscript code to move the text up or down as I wish.  For single
plots that's OK, but I'd prefer to be able to do it within R
especially when I wish to do dozens of them.

Is there something in the documentation I overlooked?

TIA

-- 
Patrick Connolly
HortResearch
Mt Albert
Auckland
New Zealand 
Ph: +64-9 815 4200 x 7188
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
I have the world`s largest collection of seashells. I keep it on all
the beaches of the world ... Perhaps you`ve seen it.  ---Steven Wright 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~




More information about the R-help mailing list